/**
 * AuraFix Tanzania - Page-Specific Layouts & Templates
 * About, Solutions, Work, Project, Insights, Article, Learn, and Contact
 */

/* ==========================================================================
   1. HERO SECTION (HOMEPAGE & GLOBAL)
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--header-height) + 3.5rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-8);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.75rem, 6.5vw, 5.25rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--aurafix-text);
  text-transform: uppercase;
}

.hero-title span {
  display: block;
}

.hero-title span.accent-green {
  color: var(--aurafix-green);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}

.hero-subline {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aurafix-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* ==========================================================================
   2. ABOUT PAGE
   ========================================================================== */
.about-mission-card {
  background: var(--aurafix-white);
  border: 1.5px solid var(--aurafix-border);
  border-radius: var(--radius-2xl);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  box-shadow: var(--shadow-card);
  margin-bottom: var(--space-16);
}

.about-belief-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.about-belief-item {
  background: var(--aurafix-white);
  border: 1px solid var(--aurafix-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  transition: transform var(--duration-normal) var(--ease-premium), border-color var(--duration-normal);
}

.about-belief-item:hover {
  transform: translateY(-4px);
  border-color: var(--aurafix-green);
}

.about-belief-num {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--aurafix-green-dark);
  margin-bottom: var(--space-2);
}

.about-belief-title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--aurafix-text);
  margin-bottom: var(--space-2);
}

.about-belief-desc {
  font-size: var(--text-sm);
  color: var(--aurafix-text-soft);
  line-height: 1.65;
}

/* ==========================================================================
   3. SOLUTIONS PAGE
   ========================================================================== */
.solutions-detail-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.solution-detail-block {
  background: var(--aurafix-white);
  border: 1px solid var(--aurafix-border);
  border-radius: var(--radius-2xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-card);
  scroll-margin-top: calc(var(--header-height) + 2rem);
}

.solution-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

.feature-pill-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: var(--space-6) 0;
}

.feature-pill-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--aurafix-text);
}

.feature-check {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--aurafix-light-green);
  color: var(--aurafix-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ==========================================================================
   4. WORK / CASE STUDY PAGE
   ========================================================================== */
.filter-tabs {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.filter-tab-btn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--aurafix-white);
  border: 1.5px solid var(--aurafix-border);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--aurafix-text-soft);
  transition: all var(--duration-fast) ease;
  cursor: pointer;
}

.filter-tab-btn:hover, .filter-tab-btn.active {
  background: var(--aurafix-green);
  border-color: var(--aurafix-green);
  color: var(--aurafix-white);
}

/* Case Study Single Detail */
.case-study-hero {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: var(--space-12);
}

.case-study-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--aurafix-border);
  border-bottom: 1px solid var(--aurafix-border);
  margin: var(--space-8) 0;
}

.case-meta-item {
  display: flex;
  flex-direction: column;
}

.case-meta-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--aurafix-text-muted);
}

.case-meta-value {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--aurafix-text);
  margin-top: var(--space-1);
}

.case-study-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-12);
  margin-top: var(--space-12);
}

.case-content-prose h3 {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--aurafix-text);
  margin: var(--space-8) 0 var(--space-3) 0;
}

.case-content-prose p {
  font-size: var(--text-base);
  color: var(--aurafix-text-soft);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.case-results-card {
  background: var(--aurafix-light-green);
  border: 1.5px solid var(--aurafix-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

/* ==========================================================================
   5. INSIGHTS & ARTICLE EDITORIAL
   ========================================================================== */
.insights-search-bar {
  position: relative;
  max-width: 460px;
  margin-bottom: var(--space-8);
}

.insights-search-input {
  width: 100%;
  padding: 0.85rem 1.25rem 0.85rem 2.75rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--aurafix-border);
  background: var(--aurafix-white);
  font-size: var(--text-sm);
}

.insights-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--aurafix-text-muted);
}

.article-prose {
  max-width: 780px;
  margin: 0 auto;
}

.article-prose h3 {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--aurafix-text);
  margin: var(--space-10) 0 var(--space-3) 0;
}

.article-prose p {
  font-size: var(--text-lg);
  color: var(--aurafix-text-soft);
  line-height: 1.85;
  margin-bottom: var(--space-6);
}

.article-prose ul {
  margin-bottom: var(--space-6);
  padding-left: var(--space-6);
}

.article-prose li {
  font-size: var(--text-base);
  color: var(--aurafix-text-soft);
  line-height: 1.75;
  margin-bottom: var(--space-3);
  list-style-type: disc;
}

.article-author-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: 1.5rem;
  background: var(--aurafix-light-green);
  border: 1px solid var(--aurafix-border);
  border-radius: var(--radius-xl);
  margin: var(--space-12) 0;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--aurafix-green);
  color: var(--aurafix-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* ==========================================================================
   6. LEARN PLATFORM
   ========================================================================== */
.learn-track-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.learn-track-card {
  background: var(--aurafix-white);
  border: 1.5px solid var(--aurafix-border);
  border-radius: var(--radius-2xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform var(--duration-normal) var(--ease-premium), border-color var(--duration-normal);
}

.learn-track-card:hover {
  transform: translateY(-6px);
  border-color: var(--aurafix-green);
  box-shadow: var(--shadow-card-hover);
}

.track-meta-row {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.track-pill {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--aurafix-light-green);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--aurafix-green-deep);
}

.track-topic-list {
  margin: var(--space-4) 0 var(--space-6) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.track-topic-item {
  font-size: var(--text-xs);
  color: var(--aurafix-text-soft);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.track-topic-item::before {
  content: '✓';
  color: var(--aurafix-green);
  font-weight: 800;
}

/* ==========================================================================
   7. CONTACT & PROJECT BUILDER
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: var(--space-12);
  align-items: flex-start;
}

.contact-card-box {
  background: var(--aurafix-white);
  border: 1.5px solid var(--aurafix-border);
  border-radius: var(--radius-2xl);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--shadow-card);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--aurafix-light-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.contact-scope-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.scope-btn {
  padding: 0.85rem 1rem;
  background: var(--aurafix-soft-white);
  border: 1.5px solid var(--aurafix-border);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--aurafix-text);
  cursor: pointer;
  text-align: left;
  transition: all var(--duration-fast) ease;
}

.scope-btn:hover {
  border-color: var(--aurafix-green);
  background: var(--aurafix-light-green);
}

.scope-btn.selected {
  border-color: var(--aurafix-green);
  background: var(--aurafix-light-green);
  color: var(--aurafix-green-deep);
  font-weight: 700;
}

.budget-radios {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}

.budget-radio-label {
  padding: 0.5rem 1rem;
  background: var(--aurafix-soft-white);
  border: 1.5px solid var(--aurafix-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.budget-radio-label:hover {
  border-color: var(--aurafix-green);
}

.budget-radio-label:has(input:checked) {
  background: var(--aurafix-green);
  border-color: var(--aurafix-green);
  color: var(--aurafix-white);
}

.form-success-banner {
  display: none;
  background: var(--aurafix-light-green);
  border: 1.5px solid var(--aurafix-green);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  margin-top: var(--space-6);
}

.form-success-banner.active {
  display: block;
  animation: fadeInUp 400ms var(--ease-premium);
}
