/* ─── NAVIGATION ──────────────────────────────────────────────────────────── */

.home-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  border-bottom: 1px solid #1F2937;
}

.home-nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-nav .wordmark { text-decoration: none; }

/* Burger button */
.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 60;
  min-width: 44px;
  min-height: 44px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile full-screen menu */
.nav-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  z-index: 50;
}

.nav-menu.open { display: flex; }

.nav-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--white);
  text-decoration: none;
  transition: color 0.15s;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-link:hover { color: var(--amber); }

@media (min-width: 1024px) {
  .nav-burger { display: none; }

  .nav-menu {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    background: none;
    inset: auto;
  }

  .nav-link { font-size: 15px; }
}

/* ─── SHARED SECTION HELPERS ──────────────────────────────────────────────── */

.home-section {
  padding: 64px 0;
}

.home-section h2 {
  margin-top: 8px;
  max-width: 720px;
}

.section-sub {
  margin-top: 12px;
  margin-bottom: 40px;
  font-size: 17px;
  color: var(--gray-mid);
  line-height: 1.7;
  max-width: 600px;
}

@media (min-width: 1024px) {
  .home-section { padding: 96px 0; }
}

/* ─── HERO ────────────────────────────────────────────────────────────────── */

.home-hero {
  background: var(--black);
  color: var(--white);
  padding: 72px 0 80px;
}

.home-hero .display  { color: var(--white); }

.home-hero .hero-sub {
  font-size: 17px;
  color: #D1D5DB;
  line-height: 1.7;
  margin-top: 20px;
  margin-bottom: 32px;
  max-width: 600px;
}

.home-hero .btn {
  width: 100%;
  justify-content: center;
}

.home-hero .reassurance {
  margin-top: 14px;
  font-size: 13px;
  color: #9CA3AF;
}

@media (min-width: 480px) {
  .home-hero .btn { width: auto; }
}

@media (min-width: 1024px) {
  .home-hero { padding: 104px 0 112px; }
}

/* ─── CARDS GRID (Problem + Solution) ────────────────────────────────────── */

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
}

@media (min-width: 600px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (min-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ─── PROBLEM ────────────────────────────────────────────────────────────── */

.home-problem { background: var(--gray-light); }

.problem-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 10px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-icon {
  color: var(--amber);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
}

.card-icon svg { width: 24px; height: 24px; stroke-width: 1.5; }

.problem-card h3 { font-size: 18px; }
.problem-card p  { color: var(--gray-mid); font-size: 15px; line-height: 1.65; }

@media (min-width: 1024px) {
  .problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }
}

/* ─── SOLUTION ───────────────────────────────────────────────────────────── */

.home-solution {
  background: var(--black);
  color: var(--white);
}

.home-solution h2     { color: var(--white); }
.home-solution .section-sub { color: #9CA3AF; }

.pillar-card {
  border: 1px solid #1F2937;
  border-radius: 10px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease;
}

.pillar-icon {
  color: var(--amber);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
}

.pillar-icon svg { width: 24px; height: 24px; stroke-width: 1.5; }

.pillar-card h3 { color: var(--white); font-size: 18px; }
.pillar-card p  { color: #9CA3AF; font-size: 15px; line-height: 1.65; }

@media (min-width: 1024px) {
  .pillar-card:hover { border-color: #374151; }
}

/* ─── PROCESS ────────────────────────────────────────────────────────────── */

.home-process { background: var(--white); }

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
  margin-bottom: 40px;
  max-width: 640px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.process-step .step-number {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--black);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h3 { font-size: 18px; margin-bottom: 6px; }
.step-content p  { color: var(--gray-mid); font-size: 15px; line-height: 1.65; }

.home-process .btn {
  width: 100%;
  justify-content: center;
}

@media (min-width: 480px) {
  .home-process .btn { width: auto; }
}

/* ─── ABOUT ──────────────────────────────────────────────────────────────── */

.home-about {
  background: var(--black);
  color: var(--white);
}

.home-about h2 { color: var(--white); margin-bottom: 24px; }

.about-body {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-body p {
  color: #D1D5DB;
  font-size: 16px;
  line-height: 1.75;
}

/* ─── FAQ ────────────────────────────────────────────────────────────────── */

.home-faq { background: var(--gray-light); }

.home-faq h2 { margin-bottom: 32px; }

.faq-accordion {
  max-width: 720px;
}

details.faq-item {
  border-bottom: 1px solid var(--gray-border);
}

details.faq-item:first-of-type {
  border-top: 1px solid var(--gray-border);
}

details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--black);
  list-style: none;
  user-select: none;
  min-height: 44px;
}

details.faq-item summary::-webkit-details-marker { display: none; }

details.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--gray-mid);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

details.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--amber);
}

details.faq-item p {
  padding-bottom: 20px;
  font-size: 15px;
  color: var(--gray-mid);
  line-height: 1.7;
}

/* ─── CONTACT ────────────────────────────────────────────────────────────── */

.home-contact {
  background: var(--black);
  color: var(--white);
  text-align: center;
}

.home-contact h2         { color: var(--white); margin-bottom: 12px; text-align: center; margin-left: auto; margin-right: auto; }
.home-contact .section-sub { color: #9CA3AF; margin: 0 auto 32px; }

.home-contact .btn {
  width: 100%;
  max-width: 360px;
  justify-content: center;
}

@media (min-width: 480px) {
  .home-contact .btn { width: auto; max-width: none; }
}

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */

.home-footer {
  background: var(--black);
  border-top: 1px solid #1F2937;
  padding: 40px 0;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--gray-mid);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 24px;
}

.footer-links a {
  font-size: 14px;
  color: #6B7280;
  text-decoration: none;
  transition: color 0.15s;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid #1F2937;
  font-size: 13px;
  color: #4B5563;
}

.footer-bottom a { color: #4B5563; text-decoration: none; }
.footer-bottom a:hover { color: var(--gray-mid); }

@media (min-width: 640px) {
  .footer-top    { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
