/* ===== Homepage Styles ===== */

/* Hero */
.home-hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, #060a18 100%);
  padding: 100px 0 80px;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(229,93,53,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(59,130,246,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.home-hero .container { position: relative; z-index: 1; }
.home-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(229,93,53,0.1);
  border: 1px solid rgba(229,93,53,0.25);
  margin-bottom: 28px;
}
.home-hero .hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
.home-hero .hero-badge span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.home-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.06;
  color: var(--white);
  max-width: 720px;
  margin-bottom: 24px;
}
.home-hero .subtitle {
  font-size: 18px;
  color: #b0b8cc;
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 36px;
}
.home-hero .hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}
.home-hero .btn-primary { padding: 16px 32px; font-size: 15px; }
.home-hero .btn-outline {
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
  background: transparent;
  padding: 14px 28px;
}
.home-hero .btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.hero-phone {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 900;
  color: var(--accent);
}

/* Trust Row (inside hero) */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(229,93,53,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { color: var(--accent); }
.trust-item .val {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}
.trust-item .lbl {
  font-size: 11px;
  color: #7a8299;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Stat Strip */
.stat-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.stat-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-strip-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-strip-item:last-child { border-right: none; }
.stat-strip-item .num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-strip-item .lbl {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  border-color: rgba(229,93,53,0.2);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.25;
}
.service-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 16px;
}
.service-card .learn-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.service-card:hover .learn-link { gap: 10px; }

/* Process Section (reuses some listicle patterns) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
  counter-reset: step;
}
.process-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
}
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.12;
  position: absolute;
  top: 12px;
  right: 16px;
  line-height: 1;
}
.process-step .step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.process-step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.process-step p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.65;
}
.process-connector {
  display: none; /* Hidden on mobile, shown on desktop between steps */
}

/* Why Us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 32px 28px;
  transition: all 0.3s;
}
.why-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(229,93,53,0.3);
}
.why-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(229,93,53,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.why-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}
.why-card p {
  font-size: 13px;
  color: #9ba3b8;
  line-height: 1.65;
}

/* Industries Grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.industry-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s;
}
.industry-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  border-color: rgba(229,93,53,0.3);
}
.industry-card .ind-icon {
  font-size: 32px;
  margin-bottom: 12px;
  line-height: 1;
}
.industry-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.industry-card .pct {
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
}

/* Results / Testimonials */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.result-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
}
.result-card .amount {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--green);
  margin-bottom: 4px;
}
.result-card .label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.result-card .detail {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 16px;
}
.result-card .outcome {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Featured Resources */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}
.resource-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.resource-card .thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.resource-card .thumb-label {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  line-height: 1.3;
}
.resource-card .body {
  padding: 24px;
}
.resource-card .cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 8px;
}
.resource-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}
.resource-card p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 12px;
}
.resource-card .read-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Homepage FAQ */
.faq-list { margin-top: 40px; max-width: 780px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}
.faq-item summary {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.2s;
}
.faq-item summary:hover { background: var(--cream); }
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '\2212';
}
.faq-item .faq-answer {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.75;
}
.faq-item .faq-answer p { margin-bottom: 12px; }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .home-hero { padding: 64px 0 56px; }
  .stat-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-strip-item { border-bottom: 1px solid var(--border); }
  .stat-strip-item:nth-child(2) { border-right: none; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .trust-row { gap: 20px; }
  .resources-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .home-hero { padding: 48px 0 40px; }
  .home-hero h1 { font-size: 30px; }
  .home-hero .hero-ctas { flex-direction: column; }
  .home-hero .hero-ctas .btn-primary,
  .home-hero .hero-ctas .btn-outline { width: 100%; justify-content: center; }
  .stat-strip-grid { grid-template-columns: 1fr; }
  .stat-strip-item { border-right: none; }
  .trust-row { flex-direction: column; gap: 16px; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}
