/* index.css — Homepage specific styles (extends shared.css) */

/* ============================================================
   HERO — split UK / Kenya layout
   ============================================================ */
.hero {
  background:
    linear-gradient(90deg, rgba(8,14,34,0.92) 0%, rgba(8,14,34,0.72) 28%, rgba(8,14,34,0.30) 44%, rgba(8,14,34,0.05) 62%, rgba(8,14,34,0.30) 100%),
    url('assets/hero2.jpeg');
  background-size: cover;
  background-position: center;
  padding: 3.5rem 1.5rem 5.5rem;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: stretch;
}

/* ---- Left column ---- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(8,14,34,0.4);
  color: #fbbf6b;
  border: 1px solid rgba(255,150,50,0.55);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.1rem;
  color: white;
  letter-spacing: -0.03em;
}
.hero .highlight { color: var(--primary); }

.hero-sub {
  color: #d3dae6;
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 1.6rem;
}

.hero-tags {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}
.hero-tag {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  color: #e2e8f0;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}
.hero-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  border-radius: 14px;
  padding: 0.8rem 1.5rem;
  line-height: 1.25;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.hero-btn:hover { transform: translateY(-2px); }
.hero-btn-title { font-size: 0.95rem; font-weight: 800; }
.hero-btn-sub { font-size: 0.74rem; font-weight: 500; opacity: 0.85; }
.hero-btn-ghost {
  background: rgba(8,14,34,0.45);
  border: 1.5px solid rgba(255,140,40,0.7);
  color: #fff;
  backdrop-filter: blur(6px);
}
.hero-btn-ghost .hero-btn-sub { color: #b7c0d0; }
.hero-btn-ghost:hover { border-color: var(--primary); background: rgba(8,14,34,0.65); }

/* Trustpilot row */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #e2e8f0;
  font-weight: 600;
}
.hero-trust-txt { color: #4ade80; }
.tp-stars { display: inline-flex; gap: 2px; }
.tp-star {
  width: 20px; height: 20px;
  background: #00b67a;
  color: #fff;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
}
.hero-trust-score { color: #cbd5e1; font-weight: 500; }

/* ---- Right column ---- */
.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  min-height: 420px;
}

.hero-uk-card {
  background: rgba(255,255,255,0.97);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  max-width: 250px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.uk-card-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--foreground);
  margin-bottom: 0.35rem;
}
.uk-flag { font-size: 1.05rem; }
.hero-uk-card p {
  font-size: 0.78rem;
  color: var(--muted-fg);
  line-height: 1.55;
}

.hero-discover {
  align-self: flex-start;
  max-width: 320px;
  margin-top: auto;
}
.hero-discover h2 {
  color: #fff;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero-discover p {
  color: #e6dccb;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30,22,8,0.6);
  border: 1.5px solid rgba(255,170,60,0.65);
  color: #fff;
  border-radius: 10px;
  padding: 0.6rem 1.3rem;
  font-size: 0.85rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
  transition: all 0.2s;
}
.hero-explore-btn .chev { color: #ffb347; font-size: 0.8em; transition: transform 0.2s; }
.hero-explore-btn:hover { background: rgba(255,106,0,0.85); border-color: transparent; }
.hero-explore-btn:hover .chev { transform: translateX(3px); color: #fff; }

/* ============================================================
   HERO STATS BAR (floating card)
   ============================================================ */
.hero-statsbar { padding: 0 1.5rem; position: relative; z-index: 5; }
.statsbar-inner {
  max-width: 1280px;
  margin: -2.8rem auto 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(2,6,23,0.14);
  border: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1.4rem 1rem;
}
.statsbar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.25rem 1rem;
}
.statsbar-item + .statsbar-item { border-left: 1px solid var(--border-light); }
.statsbar-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-orange { background: hsla(25,100%,50%,0.1); color: var(--primary); }
.icon-green { background: hsla(142,71%,45%,0.12); color: hsl(142,62%,38%); }
.icon-blue { background: hsla(217,91%,60%,0.12); color: hsl(217,91%,50%); }
.statsbar-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--foreground);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.statsbar-label {
  font-size: 0.76rem;
  color: var(--muted-fg);
  font-weight: 500;
}

/* ============================================================
   QUICK SERVICES
   ============================================================ */
.quick-services {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
}
.quick-inner { max-width: 1280px; margin: 0 auto; }

.section-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-fg);
  margin-bottom: 1.25rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.service-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1rem;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,106,0,0.03), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(255,106,0,0.12);
  transform: translateY(-3px);
  background: white;
}
.service-card:hover::after { opacity: 1; }

.service-card-icon {
  font-size: 2rem;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
}
.service-card-icon img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}
.service-card-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.3;
}
.service-card-badge {
  font-size: 0.65rem;
  background: hsla(142,71%,45%,0.1);
  color: hsl(142,62%,32%);
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  display: inline-block;
  margin-bottom: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.show-all-btn {
  background: var(--primary);
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.show-all-btn .chev {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.8em;
}
.show-all-btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features { background: var(--bg); padding: 5rem 1.5rem; }
.features-inner { max-width: 1280px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}
.section-header p { color: var(--muted-fg); font-size: 1rem; max-width: 540px; margin: 0 auto; line-height: 1.7; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; }

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.25s;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), hsl(35,100%,60%));
  opacity: 0;
  transition: opacity 0.25s;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  font-size: 2.25rem;
  margin-bottom: 1.1rem;
  display: block;
  width: 52px; height: 52px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
  color: var(--foreground);
  letter-spacing: -0.01em;
}
.feature-card p {
  color: var(--muted-fg);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.feature-btns { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* ============================================================
   ENQUIRY FORM
   ============================================================ */
.enquiry {
  background: white;
  padding: 5rem 1.5rem;
  position: relative;
}
.enquiry::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.enquiry-inner { max-width: 660px; margin: 0 auto; }

.enquiry h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.enquiry p { color: var(--muted-fg); margin-bottom: 2.25rem; line-height: 1.7; }

/* ============================================================
   TRUSTED / LOGOS
   ============================================================ */
.trusted { background: var(--bg); padding: 4rem 1.5rem; border-top: 1px solid var(--border); }
.trusted-inner { max-width: 1280px; margin: 0 auto; text-align: center; }
.trusted-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-fg);
  margin-bottom: 2rem;
}
.logos-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.logo-pill {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 1.5rem;
  font-weight: 800;
  color: var(--muted-fg);
  font-size: 0.9rem;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}
.logo-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   CTA DARK
   ============================================================ */
.cta-dark {
  background: linear-gradient(135deg, #0a0f1e 0%, #0f172a 60%, #1a1f35 100%);
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-dark::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(255,106,0,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-dark h2 {
  color: white;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
  position: relative;
}
.cta-dark p {
  color: #64748b;
  margin-bottom: 2.25rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  position: relative;
}

/* ============================================================
   HERO CATEGORY CARDS
   ============================================================ */
.hero-category-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.8rem;
}

.hero-cat-card {
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 1.35rem 1rem 1.25rem;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.hero-cat-card:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,170,60,0.55);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(255,106,0,0.2);
}

.hero-cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,150,50,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.2rem;
  flex-shrink: 0;
}
.hero-cat-icon-blue {
  background: rgba(59,130,246,0.12);
}
.hero-cat-finance:hover {
  border-color: rgba(59,130,246,0.5);
  box-shadow: 0 8px 28px rgba(59,130,246,0.18);
}

.hero-cat-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.hero-cat-sub {
  font-size: 0.78rem;
  font-weight: 500;
  color: #c0c8d8;
  line-height: 1.3;
}
.hero-cat-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: #60a5fa;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  margin-top: 0.15rem;
  letter-spacing: 0.01em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-right { min-height: 0; align-items: flex-start; flex-direction: column-reverse; }
  .hero-uk-card { max-width: 100%; }
  .hero-discover { margin-top: 0; }
  .statsbar-inner { grid-template-columns: repeat(2, 1fr); gap: 0.5rem 0; }
  .statsbar-item + .statsbar-item { border-left: none; }
  .statsbar-item:nth-child(even) { border-left: 1px solid var(--border-light); }
  .statsbar-item { justify-content: flex-start; }
  .hero-category-cards { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
}
@media (max-width: 768px) {
  .hero { padding: 2.75rem 1.25rem 4.5rem; background-position: 62% center; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .features { padding: 3.5rem 1.25rem; }
  .enquiry { padding: 3.5rem 1.25rem; }
  .trusted { padding: 3rem 1.25rem; }
  .cta-dark { padding: 3.5rem 1.25rem; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .hero-btn { width: 100%; align-items: center; }
  .statsbar-inner { grid-template-columns: 1fr; padding: 1rem; }
  .statsbar-item:nth-child(even) { border-left: none; }
  .statsbar-item + .statsbar-item { border-top: 1px solid var(--border-light); }
  .feature-card { padding: 1.5rem; }
  .hero-category-cards { grid-template-columns: 1fr; gap: 0.65rem; }
  .hero-cat-card { flex-direction: row; text-align: left; padding: 1rem 1.15rem; gap: 0.85rem; }
  .hero-cat-icon { margin-bottom: 0; }
}
