/* whatwedo.css - What We Do page styles */

/* ============================================
   HERO SECTION
   ============================================ */
.whatwedo-hero {
  padding: 10rem 2rem 5rem;
  text-align: center;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.whatwedo-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.whatwedo-title {
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 1.25rem;
}

.whatwedo-subtitle {
  font-size: 1.1rem;
  color: #999;
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 2.5rem;
}

.whatwedo-hero-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.whatwedo-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #aaa;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.whatwedo-hero-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

/* ============================================
   CONTENT LINKS
   Overrides browser default blue on all inline
   links within page content.
   ============================================ */
.feature-desc a,
.step-desc a,
.story-text-block a,
.content-link {
  color: #aaa;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.feature-desc a:hover,
.step-desc a:hover,
.story-text-block a:hover,
.content-link:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   NUMBERED SECTIONS
   ============================================ */
.numbered-section {
  padding: 6rem 2rem;
  position: relative;
}

.numbered-section.alt-bg {
  background-color: rgba(255, 255, 255, 0.01);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 4rem;
}

.section-number {
  font-size: 8rem;
  font-weight: 900;
  color: rgba(180, 22, 22, 0.15);
  line-height: 1;
  user-select: none;
}

.section-content {
  padding-top: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #fff;
}

.section-text {
  margin-bottom: 3rem;
}

.section-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #aaa;
  margin-bottom: 1.5rem;
}

.section-text p:last-child {
  margin-bottom: 0;
}

/* ============================================
   FEATURES LIST
   ============================================ */
.features-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2rem;
}

.feature-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1.75rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease;
}

.feature-item:first-child {
  padding-top: 0;
}

.feature-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(180, 22, 22, 0.08);
  border: 1px solid rgba(180, 22, 22, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b41616;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-content {
  padding-top: 0.1rem;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.feature-desc {
  font-size: 0.97rem;
  line-height: 1.75;
  color: #999;
  margin-bottom: 0.75rem;
}

.feature-desc:last-child {
  margin-bottom: 0;
}

.feature-desc li {
  margin-bottom: 0.35rem;
}

.feature-meta {
  font-size: 0.875rem;
  color: #666;
  margin-top: 0.75rem;
}

.feature-meta a {
  color: #aaa;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.feature-meta a:hover {
  color: #b41616;
}

/* ============================================
   STEPS LIST
   ============================================ */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2rem;
}

.step-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.step-item:first-child {
  padding-top: 0;
}

.step-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.step-number {
  width: 64px;
  height: 64px;
  background: rgba(180, 22, 22, 0.08);
  border: 1px solid rgba(180, 22, 22, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 900;
  color: #b41616;
  flex-shrink: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.step-item:hover .step-number {
  border-color: rgba(180, 22, 22, 0.5);
  background: rgba(180, 22, 22, 0.12);
  box-shadow: 0 0 20px rgba(180, 22, 22, 0.2);
}

.step-content {
  padding-top: 0.35rem;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.step-desc {
  font-size: 0.97rem;
  line-height: 1.75;
  color: #999;
  margin-bottom: 0.75rem;
}

.step-desc:last-child {
  margin-bottom: 0;
}

.step-desc li {
  margin-bottom: 0.35rem;
}

/* ============================================
   COMPARISON SECTION
   ============================================ */
.comparison-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
}

.comparison-column {
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
}

.comparison-column.before {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 100, 100, 0.02);
}

.comparison-column.after {
  background: rgba(180, 22, 22, 0.03);
}

.comparison-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.comparison-title::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.comparison-column.before .comparison-title {
  color: #ff6464;
}

.comparison-column.before .comparison-title::before {
  background: #ff6464;
}

.comparison-column.after .comparison-title {
  color: #b41616;
}

.comparison-column.after .comparison-title::before {
  background: #b41616;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison-list li {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #aaa;
  padding-left: 1.25rem;
  position: relative;
}

.comparison-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.comparison-column.before .comparison-list li::before {
  background: rgba(255, 100, 100, 0.5);
}

.comparison-column.after .comparison-list li::before {
  background: rgba(180, 22, 22, 0.7);
}

/* ============================================
   OUR STORY SECTION
   ============================================ */
.story-content {
  max-width: 860px;
}

.story-text-block {
  margin-bottom: 3rem;
}

.story-text-block p,
.story-text-block ul {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #aaa;
  margin-bottom: 1.5rem;
}

.story-text-block ul {
  padding-left: 1.25rem;
}

.story-text-block ul li {
  margin-bottom: 1rem;
}

.story-text-block p:last-child {
  margin-bottom: 0;
}

/* Blockquote — semantically correct, visually prominent */
blockquote.story-highlight {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ccc;
  font-style: italic;
  padding: 1.75rem 2rem;
  border-left: 3px solid #b41616;
  background: rgba(180, 22, 22, 0.04);
  border-radius: 0 8px 8px 0;
  margin: 2rem 0 2.5rem;
}

blockquote.story-highlight cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #777;
  font-style: normal;
}

blockquote.story-highlight cite a {
  color: #999;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

blockquote.story-highlight cite a:hover {
  color: #b41616;
}

.founder-signature {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.signature-line {
  width: 160px;
  height: 2px;
  background: linear-gradient(90deg, #b41616, transparent);
  margin-bottom: 1rem;
}

.founder-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

/* ============================================
   CTA SECTION
   Mirrors the homepage cta-section style exactly.
   ============================================ */
.cta-section-whatwedo {
  background: linear-gradient(135deg, rgba(180, 22, 22, 0.08) 0%, transparent 100%);
  padding: 6rem 2rem;
  position: relative;
}

.cta-section-whatwedo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180, 22, 22, 0.4), transparent);
}

.cta-section-whatwedo .home-container {
  max-width: 1200px;
  margin: 0 auto;
}

.cta-box-whatwedo {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
}

.cta-box-whatwedo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(180, 22, 22, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title-whatwedo {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
  position: relative;
  z-index: 1;
}

.cta-desc-whatwedo {
  font-size: 1.1rem;
  color: #aaa;
  margin-bottom: 2.5rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.cta-buttons-whatwedo {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) {
  .section-container {
    grid-template-columns: 80px 1fr;
    gap: 2.5rem;
  }

  .section-number {
    font-size: 5rem;
  }

  .comparison-container {
    grid-template-columns: 1fr;
  }

  .comparison-column.before {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 768px) {
  .whatwedo-hero {
    padding: 7rem 1.5rem 3.5rem;
  }

  .whatwedo-title {
    font-size: 2.1rem;
  }

  .whatwedo-subtitle {
    font-size: 1rem;
  }

  .numbered-section {
    padding: 4rem 1.5rem;
  }

  .section-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section-number {
    font-size: 3.5rem;
    position: static;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .section-text p {
    font-size: 1rem;
  }

  .feature-item {
    grid-template-columns: 44px 1fr;
    gap: 1.25rem;
  }

  .feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .feature-title {
    font-size: 1.1rem;
  }

  .feature-desc {
    font-size: 0.9rem;
  }

  .step-item {
    grid-template-columns: 52px 1fr;
    gap: 1.25rem;
  }

  .step-number {
    width: 52px;
    height: 52px;
    font-size: 1.1rem;
  }

  .step-title {
    font-size: 1.1rem;
  }

  .step-desc {
    font-size: 0.9rem;
  }

  .comparison-column {
    padding: 1.75rem 1.5rem;
  }

  .comparison-title {
    font-size: 1rem;
  }

  blockquote.story-highlight {
    font-size: 1rem;
    padding: 1.25rem 1.5rem;
  }

  .cta-section-whatwedo {
    padding: 4rem 1.5rem;
  }

  .cta-box-whatwedo {
    padding: 2.5rem 1.5rem;
  }

  .cta-title-whatwedo {
    font-size: 1.9rem;
  }

  .cta-desc-whatwedo {
    font-size: 1rem;
  }

  .cta-buttons-whatwedo {
    flex-direction: column;
  }

  .btn.large {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .whatwedo-title {
    font-size: 1.85rem;
  }

  .section-number {
    font-size: 2.75rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .cta-title-whatwedo {
    font-size: 1.65rem;
  }
}
