/* ═══════════════════════════════
   APS PARTNERS — HOME PAGE CSS
   ═══════════════════════════════ */

/* ── HERO: split layout (text left / image right) ── */
.hero {
  background: var(--teal-dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  padding-top: var(--nav-h);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 80px;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-col { display: none; }
}

/* Text column */
.hero-content { max-width: 560px; }

.hero-eyebrow {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
}

.hero-h1 {
  color: white;
  font-size: clamp(28px, 3vw, 42px);
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 38px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Image column */
.hero-image-col {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-col img {
  width: 100%;
  max-width: 560px;
  height: 480px;
  object-fit: cover;
  object-position: center 25%;
  border-radius: var(--radius-lg);
  display: block;
}

/* ── STATS ── */
.stats {
  background: var(--teal);
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
}
.stat-num {
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 700;
  color: white;
  font-family: 'Inter', sans-serif;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-num small {
  font-size: 0.48em;
  font-weight: 600;
  vertical-align: super;
}
.stat-label {
  font-size: 15px;
  color: var(--teal-light);
  text-align: center;
  line-height: 1.45;
  font-family: 'Noto Sans JP', sans-serif;
}
.stat-divider {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .stats-grid { flex-wrap: wrap; }
  .stat-item { flex: 1 0 40%; }
  .stat-divider { display: none; }
  .stat-num { font-size: 36px; }
}

/* ── COMPANY INTRO ── */
.intro { padding: 20px 0; }
.intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .intro-inner { grid-template-columns: 1fr; gap: 40px; }
}
.intro-text h2 { margin-bottom: 20px; font-family: 'Noto Sans JP', sans-serif; }
.intro-cards { display: flex; flex-direction: column; gap: 16px; }
.intro-card {
  background: var(--canvas);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.intro-card-icon {
  width: 42px; height: 42px;
  background: var(--teal-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.intro-card h3 { font-size: 15px; }
.intro-card p  { font-size: 13px; color: var(--text-muted); }

/* ── SERVICES PHOTO BAND ── */
.services-photo-band {
  position: relative;
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
}
.services-photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.services-photo-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,55,65,0.75) 0%, rgba(0,55,65,0.2) 100%);
  display: flex;
  align-items: center;
  padding: 0 36px;
}
.services-photo-caption p {
  color: white;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  font-family: 'Noto Sans JP', sans-serif;
}

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 768px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.15s, border-color 0.15s;
}
.service-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  border-color: var(--teal);
}
.service-card-num {
  font-size: 34px;
  font-weight: 700;
  color: var(--teal);
  font-family: 'Inter', sans-serif;
  line-height: 1;
  flex-shrink: 0;
  min-width: 52px;
}
.service-card-num::after {
  content: '';
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--amber);
  margin-top: 6px;
  border-radius: 2px;
}
.service-card-body { flex: 1; }
.service-card-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-family: 'Inter', sans-serif;
}
.service-card h3 { font-size: 17px; margin-bottom: 8px; }
.service-card p  { font-size: 13px; color: var(--text-muted); line-height: 1.65; }
.service-card-arrow {
  font-size: 18px;
  color: var(--teal);
  opacity: 0;
  transition: opacity 0.15s, transform 0.15s;
  flex-shrink: 0;
}
.service-card:hover .service-card-arrow { opacity: 1; transform: translateX(3px); }