/* ─── INDEX PAGE STYLES ─── */

/* ─── SECTIONS ─── */
section { padding: 6rem 2rem; }

/* ─── HERO ─── */
.hero {
  padding: 8rem 2rem 5rem;
  border-bottom: 1px solid var(--border);
}
.hero .container { max-width: var(--max-w); }
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.4rem);
  font-weight: 700; letter-spacing: -0.035em;
  line-height: 1.1; margin-bottom: 1.5rem; max-width: 680px;
}
.hero-sub {
  color: var(--text-secondary); font-size: 1.05rem;
  line-height: 1.7; margin-bottom: 2rem; max-width: 520px;
}
.hero-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero-pill {
  font-size: 0.75rem; font-weight: 500; color: var(--text-secondary);
  padding: 0.35rem 0.85rem; border: 1px solid var(--border); border-radius: 100px;
}
.hero-stats { display: flex; gap: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.hero-stat strong {
  display: block; font-family: var(--mono);
  font-size: 1.8rem; font-weight: 600; letter-spacing: -0.02em;
}
.hero-stat span { font-size: 0.78rem; color: var(--text-muted); font-weight: 400; }

/* ─── CAPABILITIES ─── */
.capabilities { background: var(--bg); border-bottom: 1px solid var(--border); }
.section-header { margin-bottom: 3rem; }
.section-header h2 {
  font-size: 1.6rem; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 0.6rem;
}
.section-header p {
  font-size: 0.95rem; color: var(--text-secondary);
  max-width: 540px; line-height: 1.7;
}
.cap-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border); border: 1px solid var(--border);
}
.cap-card {
  background: var(--bg); padding: 2rem;
  display: flex; flex-direction: column; transition: background 0.25s;
}
.cap-card:hover { background: var(--bg-alt); }
.cap-num {
  font-family: var(--mono); font-size: 0.7rem;
  color: var(--text-muted); font-weight: 500;
  margin-bottom: 0.8rem; letter-spacing: 0.03em;
}
.cap-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.15rem; letter-spacing: -0.01em; }
.cap-subtitle { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 1.2rem; }
.cap-verb {
  font-family: var(--mono); font-size: 0.75rem;
  font-weight: 600; color: var(--text-muted); margin-top: auto; letter-spacing: 0.02em;
}

/* ─── DETAIL SECTION ─── */
.detail-block { padding: 3.5rem 2rem; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.detail-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.detail-inner h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1rem; }
.detail-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.detail-list li { font-size: 0.88rem; color: var(--text-secondary); padding-left: 1rem; position: relative; }
.detail-list li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 4px; height: 4px; border-radius: 50%; background: var(--text-muted);
}
.detail-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.2rem; }
.detail-tags span {
  font-size: 0.72rem; font-weight: 600; padding: 0.25rem 0.65rem;
  border-radius: 4px; background: var(--bg); border: 1px solid var(--border); color: var(--text-muted);
}

/* ─── PROCESS ─── */
.process { background: var(--bg); border-bottom: 1px solid var(--border); }
.process-steps { display: flex; flex-direction: column; }
.process-step {
  display: grid; grid-template-columns: 100px 1fr;
  gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--border-light);
}
.process-step:last-child { border-bottom: none; }
.step-label {
  font-family: var(--mono); font-size: 0.72rem;
  color: var(--text-muted); font-weight: 500; padding-top: 0.2rem;
}
.process-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.process-step p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; max-width: 520px; }

/* ─── INDUSTRIES ─── */
.industries { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.ind-layout { display: grid; grid-template-columns: 260px 1fr; gap: 4rem; margin-top: 2.5rem; align-items: start; }
.ind-sidebar p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; }
.ind-tags { display: flex; flex-direction: column; gap: 0; }
.ind-tag {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0; border-bottom: 1px solid var(--border);
  cursor: default; transition: padding-left 0.2s;
}
.ind-tag:first-child { border-top: 1px solid var(--border); }
.ind-tag:hover { padding-left: 0.5rem; }
.ind-tag-name { font-size: 0.92rem; font-weight: 600; }
.ind-tag-desc { font-size: 0.75rem; color: var(--text-muted); font-weight: 400; }

/* ─── TESTIMONIALS ─── */
.testimonials { background: var(--bg); border-bottom: 1px solid var(--border); }
.test-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 2.5rem;
}
.test-card { background: var(--bg); padding: 2rem; }
.test-card blockquote { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 1.2rem; font-style: normal; }
.test-card blockquote::before { content: '\201C'; }
.test-card blockquote::after { content: '\201D'; }
.test-author { font-size: 0.82rem; font-weight: 700; }
.test-role { font-size: 0.75rem; color: var(--text-muted); }

/* ─── CTA ─── */
.cta-section { background: var(--bg); border-bottom: 1px solid var(--border); padding: 6rem 2rem; }
.cta-inner { max-width: var(--max-w); margin: 0 auto; }
.cta-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 700;
  letter-spacing: -0.03em; margin-bottom: 1rem; max-width: 520px; line-height: 1.15;
}
.cta-inner > p { font-size: 0.95rem; color: var(--text-secondary); max-width: 480px; line-height: 1.7; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; }

/* ─── FAQ ─── */
.faq { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.faq-list { margin-top: 2.5rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 0; cursor: pointer;
  font-family: var(--sans); font-size: 0.92rem;
  font-weight: 600; color: var(--text); text-align: left;
}
.faq-q::after { content: '\25BE'; font-size: 0.85rem; color: var(--text-muted); transition: transform 0.25s; }
.faq-item.open .faq-q::after { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a-inner { padding-bottom: 1.2rem; font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; }

/* ─── PORTFOLIO INTRO ─── */
.portfolio-intro { padding: 6rem 2rem; background: var(--bg); border-bottom: 1px solid var(--border); }
.intro-tagline {
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 1.5rem; max-width: 600px;
}
.intro-subhead { font-size: 1.05rem; color: var(--text-secondary); max-width: 520px; line-height: 1.7; margin-bottom: 3rem; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.pillar h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.pillar p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.footer-line { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; text-align: center; margin-top: 2rem; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  section { padding: 4rem 1.25rem; }
  .cap-grid { grid-template-columns: 1fr; }
  .test-grid { grid-template-columns: 1fr; }
  .detail-inner { grid-template-columns: 1fr; gap: 2rem; }
  .ind-layout { grid-template-columns: 1fr; gap: 2rem; }
  .process-step { grid-template-columns: 1fr; gap: 0.5rem; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .cta-actions { flex-direction: column; }
  .ind-tag { flex-direction: column; align-items: flex-start; gap: 0.2rem; }
  .portfolio-intro { padding: 4rem 1.25rem; }
  .pillars { grid-template-columns: 1fr; }
}
