/* ============================================================
   GENIUS FIX — Home Page Styles
   File: css/home.css
   ============================================================ */

/* ── HERO ── */
.hero {
  min-height: calc(100vh - 72px);
  background: var(--navy);
  display: flex;
  align-items: center;
  padding: 60px 6%;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 40px,
    rgba(200, 146, 42, 0.03) 40px,
    rgba(200, 146, 42, 0.03) 41px
  );
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}
.hero-tag {
  display: inline-block;
  background: rgba(200, 146, 42, 0.15);
  border: 1px solid rgba(200, 146, 42, 0.4);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}
.hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.hero-content h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-sub {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  max-width: 480px;
  line-height: 1.8;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Card Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card-stack {
  position: relative;
  width: 340px; height: 380px;
}
.hcard {
  position: absolute;
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(200, 146, 42, 0.2);
}
.hcard-back {
  width: 280px; top: 0; left: 40px;
  background: rgba(13, 31, 60, 0.7);
  opacity: 0.6;
}
.hcard-main {
  width: 300px; bottom: 0; left: 20px;
  background: rgba(26, 52, 96, 0.92);
  border-color: rgba(200, 146, 42, 0.5);
  z-index: 2;
}
.hcard-icon {
  width: 48px; height: 48px;
  background: rgba(200, 146, 42, 0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.hcard-main h3 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.hcard-main p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  line-height: 1.6;
}
.stat-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.stat-chip {
  background: rgba(200, 146, 42, 0.15);
  border: 1px solid rgba(200, 146, 42, 0.3);
  border-radius: 6px;
  padding: 6px 12px;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
}

/* ── SERVICES PREVIEW ── */
.home-services-section {
  background: var(--white);
}
.home-services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.hs-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px 20px;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.hs-card:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
  transform: translateY(-4px);
}
.hs-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}
.hs-card h3 {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

/* ── STATS ── */
.home-stats-section {
  background: var(--navy);
  padding: 60px 6%;
}
.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.home-stat {
  text-align: center;
  padding: 42px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 146, 42, 0.2);
  border-radius: 16px;
  transition: border-color 0.2s;
}
.home-stat:hover {
  border-color: rgba(200, 146, 42, 0.5);
}
.home-stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 8px;
}
.home-stat-label {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
}

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .home-services-grid { grid-template-columns: repeat(3, 1fr); }
  .home-stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero { min-height: auto; padding: 50px 5% 60px; }
  .home-services-grid { grid-template-columns: repeat(2, 1fr); }
  .home-stats-grid { grid-template-columns: 1fr; }
}
