/* ==========================================================================
   About Us Page Styles
   Styles for the About Us page: differentiator cards, why choose us section,
   process timeline, and quote block.
   Page header styles are in base.css (shared component).
   Requirements: 8.1, 8.2, 8.3, 8.4, 8.5, 8.6, 16.6
   ========================================================================== */

/* ==========================================================================
   About Intro Section
   Displays the main "About Us" text content.
   ========================================================================== */

.about-intro__content {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about-intro__text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

/* ==========================================================================
   Differentiator Cards
   4 cards showing key differentiators with icons.
   ========================================================================== */

.grid--4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.differentiator-card {
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-bg-tertiary);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.differentiator-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.differentiator-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  line-height: 1;
}

.differentiator-card__title {
  font-size: var(--fs-h4);
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.differentiator-card__description {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: var(--lh-body);
  margin-bottom: 0;
}

/* ==========================================================================
   Why Choose Us Section
   6 points displayed in a grid with icons.
   ========================================================================== */

.about-why-choose {
  background-color: var(--color-bg-secondary);
}

.why-choose-item {
  background-color: var(--color-bg-primary);
  border: 1px solid var(--color-bg-tertiary);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.why-choose-item:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
}

.why-choose-item__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: var(--space-md);
  line-height: 1;
}

.why-choose-item__title {
  font-size: var(--fs-body);
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.why-choose-item__description {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: var(--lh-body);
  margin-bottom: 0;
}

/* ==========================================================================
   Process Timeline
   4-step visual timeline with connecting line and sequential reveal.
   Vertical on mobile, horizontal on desktop.
   ========================================================================== */

.process-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  padding-left: var(--space-2xl);
}

/* Vertical connecting line (mobile) */
.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-accent-dark));
  opacity: 0.4;
}

.process-step {
  position: relative;
  padding: var(--space-lg);
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-bg-tertiary);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.process-step:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-gold);
}

/* Dot on the timeline line (mobile) */
.process-step::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-2xl) + 14px);
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-color: var(--color-accent);
  border-radius: var(--radius-full);
  border: 3px solid var(--color-bg-primary);
  box-shadow: 0 0 0 2px var(--color-accent);
}

.process-step__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: var(--fw-bold);
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
  line-height: 1;
}

.process-step__title {
  font-size: var(--fs-h4);
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.process-step__description {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: var(--lh-body);
  margin-bottom: 0;
}

/* Sequential stagger for process steps */
.process-timeline .process-step:nth-child(1) { transition-delay: 0ms; }
.process-timeline .process-step:nth-child(2) { transition-delay: 150ms; }
.process-timeline .process-step:nth-child(3) { transition-delay: 300ms; }
.process-timeline .process-step:nth-child(4) { transition-delay: 450ms; }

/* ==========================================================================
   Quote Block
   Styled blockquote with decorative elements.
   ========================================================================== */

.about-quote {
  background-color: var(--color-bg-secondary);
}

.about-quote__block {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: var(--space-2xl);
  border-left: 4px solid var(--color-accent);
  border-right: 4px solid var(--color-accent);
  position: relative;
}

.about-quote__block::before,
.about-quote__block::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: var(--color-accent);
  opacity: 0.4;
}

.about-quote__block::before {
  top: 0;
  left: 0;
  border-top: 2px solid var(--color-accent);
  border-left: 2px solid var(--color-accent);
}

.about-quote__block::after {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid var(--color-accent);
  border-right: 2px solid var(--color-accent);
}

.about-quote__text {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  font-style: italic;
  color: var(--color-text-primary);
  line-height: var(--lh-heading);
  margin-bottom: var(--space-md);
}

.about-quote__cite {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-style: normal;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ==========================================================================
   Responsive - Tablet (769px+)
   ========================================================================== */

@media screen and (min-width: 769px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-intro__text {
    font-size: 1.25rem;
  }

  .about-quote__text {
    font-size: var(--fs-h2);
  }
}

/* ==========================================================================
   Responsive - Desktop (1025px+)
   ========================================================================== */

@media screen and (min-width: 1025px) {
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Horizontal timeline on desktop */
  .process-timeline {
    flex-direction: row;
    padding-left: 0;
    gap: var(--space-lg);
  }

  /* Horizontal connecting line (desktop) */
  .process-timeline::before {
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
  }

  .process-step {
    flex: 1;
    text-align: center;
    padding-top: calc(var(--space-2xl) + var(--space-lg));
  }

  /* Dot on the timeline line (desktop) */
  .process-step::before {
    left: 50%;
    top: 34px;
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Reduced Motion
   Disable complex animations for users who prefer reduced motion.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .process-step,
  .differentiator-card,
  .why-choose-item {
    transition: none;
  }
}
