/* ============================================
   PROCRAFT — Homepage CSS
   ============================================ */

/* HERO */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 68px;
  background: var(--charcoal);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(28,28,28,0.92) 0%, rgba(28,28,28,0.75) 50%, rgba(28,28,28,0.3) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 4rem 5%; max-width: 680px; }
.hero-content h1 { color: #fff; animation: fu 0.8s ease both; }
.hero-content h1 em { font-style: normal; color: var(--amber); }
.hero-content p { color: rgba(255,255,255,0.72); font-size: 1.12rem; max-width: 500px; margin-top: 1.2rem; animation: fu 0.8s ease 0.15s both; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.2rem; animation: fu 0.8s ease 0.25s both; }
.hero-trust { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 2.8rem; animation: fu 0.8s ease 0.35s both; }
.trust-pill { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: rgba(255,255,255,0.55); font-family: 'Barlow Condensed', sans-serif; font-weight: 600; letter-spacing: 0.5px; }
.trust-pill::before { content: '✓'; color: var(--amber); }

/* STATS BAR */
.stats-bar { background: var(--amber); padding: 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4,1fr); max-width: 1200px; margin: 0 auto; }
.stat-cell { padding: 2rem 1.5rem; text-align: center; border-right: 1px solid rgba(255,255,255,0.2); }
.stat-cell:last-child { border-right: none; }
.stat-val { font-family: 'Fraunces', serif; font-size: 2.8rem; font-weight: 900; color: #fff; display: block; line-height: 1; }
.stat-desc { font-family: 'Barlow Condensed', sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.75); display: block; margin-top: 0.3rem; }

/* SERVICES GRID */
.services-sec { padding: 6rem 5%; }
.sec-header { margin-bottom: 3.5rem; }
.sec-header.center { text-align: center; }
.sec-header h2 em { font-style: normal; color: var(--amber); }
.sec-sub { color: var(--text-muted); font-size: 1rem; max-width: 520px; margin-top: 0.5rem; line-height: 1.7; }
.sec-sub.center-sub { margin-left: auto; margin-right: auto; }

.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5px; background: var(--stone); border: 1.5px solid var(--stone); }
.svc-card {
  background: var(--bone); padding: 2.5rem 2rem;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: background var(--transition);
  position: relative; overflow: hidden;
}
.svc-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--amber); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.svc-card:hover { background: var(--charcoal); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card:hover .svc-name { color: #fff; }
.svc-card:hover .svc-desc { color: rgba(255,255,255,0.55); }
.svc-card:hover .svc-icon { color: var(--amber); }
.svc-card:hover .svc-link { color: var(--amber); }
.svc-icon { font-size: 2.4rem; margin-bottom: 1.2rem; transition: color var(--transition); }
.svc-name { font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 0.6rem; transition: color var(--transition); }
.svc-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; flex: 1; transition: color var(--transition); }
.svc-link { margin-top: 1.2rem; font-family: 'Barlow Condensed', sans-serif; font-size: 0.82rem; font-weight: 700; letter-spacing: 1px; color: var(--amber); transition: color var(--transition), letter-spacing var(--transition); }
.svc-card:hover .svc-link { letter-spacing: 2px; }

/* WHY US */
.why-sec { background: var(--charcoal); padding: 6rem 5%; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.why-img-wrap { position: relative; }
.why-img-wrap img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.why-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--amber); color: #fff; padding: 1.4rem 1.8rem;
  text-align: center; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.why-badge strong { display: block; font-family: 'Fraunces', serif; font-size: 2.4rem; font-weight: 900; line-height: 1; }
.why-badge span { font-size: 0.75rem; opacity: 0.9; }
.why-text .label { color: #c8986a; }
.why-text h2 { color: #fff; }
.why-text h2 em { font-style: normal; color: var(--amber); }
.why-text > p { color: rgba(255,255,255,0.6); margin-top: 0.5rem; }
.feats { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.feat { display: flex; gap: 1rem; align-items: flex-start; }
.feat-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); flex-shrink: 0; margin-top: 7px; }
.feat strong { display: block; color: #fff; font-size: 0.97rem; margin-bottom: 0.2rem; }
.feat p { font-size: 0.86rem; color: rgba(255,255,255,0.5); }

/* TOOLS TEASER */
.tools-teaser { padding: 6rem 5%; background: var(--warm-gray); }
.tools-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.tool-feature-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); aspect-ratio: 4/3;
  display: flex; align-items: flex-end;
  text-decoration: none;
}
.tool-feature-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.tool-feature-card:hover img { transform: scale(1.05); }
.tool-feature-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,28,28,0.88) 0%, transparent 60%);
}
.tool-feature-body { position: relative; z-index: 2; padding: 2rem; }
.tool-feature-body .label { color: #c8986a; }
.tool-feature-body h3 { color: #fff; font-size: 1.5rem; margin-bottom: 0.5rem; }
.tool-feature-body p { color: rgba(255,255,255,0.65); font-size: 0.88rem; }
.tool-feature-body .btn { margin-top: 1rem; }

/* TESTIMONIALS */
.testi-sec { padding: 6rem 5%; }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.8rem; }
.testi-card {
  background: #fff; border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
  border-top: 3px solid var(--amber);
  transition: box-shadow var(--transition), transform var(--transition);
}
.testi-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.testi-stars { color: var(--amber); font-size: 1rem; margin-bottom: 1rem; }
.testi-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; }
.testi-author { margin-top: 1.4rem; display: flex; gap: 0.8rem; align-items: center; }
.testi-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 1rem; color: #fff; flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: 0.9rem; }
.testi-role { font-size: 0.78rem; color: var(--text-muted); }

/* CTA BAND */
.cta-band { position: relative; overflow: hidden; padding: 7rem 5%; }
.cta-band-bg { position: absolute; inset: 0; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band-bg::after { content: ''; position: absolute; inset: 0; background: rgba(28,28,28,0.82); }
.cta-band-content { position: relative; z-index: 2; text-align: center; max-width: 700px; margin: 0 auto; }
.cta-band-content h2 { color: #fff; }
.cta-band-content h2 em { font-style: normal; color: var(--amber); }
.cta-band-content p { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin: 1rem auto; max-width: 500px; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* ANIMATIONS */
@keyframes fu { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:none; } }

/* RESPONSIVE */
@media (max-width: 1000px) {
  .svc-grid { grid-template-columns: repeat(2,1fr); }
  .testi-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid, .tools-split { grid-template-columns: 1fr; gap: 3rem; }
  .why-badge { right: 1rem; }
}
@media (max-width: 650px) {
  .svc-grid, .testi-grid, .tools-split { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .stat-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .hero-btns { flex-direction: column; }
}
