/**
 * Hisibati Consulting - compact premium homepage
 */
.hc-home {
  --hc-black: #050607;
  --hc-charcoal: #15171a;
  --hc-ink: #08224a;
  --hc-blue: #28a9e1;
  --hc-blue-dark: #28a9e1;
  --hc-blue-soft: #edf9fe;
  --hc-gold: #f2a94b;
  --hc-silver: #a7a9ac;
  --hc-silver-soft: #f4f7fa;
  --hc-border: #dfe8ef;
  --hc-muted: #5f7084;
  --hc-white: #ffffff;
  --hc-shadow: 0 16px 34px rgba(5, 6, 7, 0.09);
  background: var(--hc-white);
  color: var(--hc-ink);
  font-family: 'Source Sans 3', 'Inter', Arial, sans-serif;
  overflow-x: hidden;
}

.hc-home *,
.hc-home *::before,
.hc-home *::after {
  box-sizing: border-box;
}

.hc-home h1,
.hc-home h2,
.hc-home h3 {
  font-family: 'Merriweather', Georgia, serif;
  color: var(--hc-ink);
  letter-spacing: 0;
}

.hc-wrap {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
}

.hc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 8px;
  color: var(--hc-blue-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hc-kicker::before {
  content: "";
  width: 25px;
  height: 2px;
  background: var(--hc-gold);
}

.hc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 9px 17px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.hc-btn:hover {
  transform: translateY(-2px);
}

.hc-btn-primary {
  background: var(--hc-blue-dark);
  color: var(--hc-white) !important;
  box-shadow: 0 10px 22px rgba(0, 96, 173, 0.2);
}

.hc-btn-primary:hover {
  background: var(--hc-ink);
}

.hc-btn-outline,
.hc-btn-light {
  background: var(--hc-white);
  color: var(--hc-ink) !important;
  border-color: var(--hc-border);
}

.hc-hero .hc-btn-outline,
.hc-final-cta .hc-btn-light {
  background: #25d366;
  color: var(--hc-white) !important;
  border-color: #25d366;
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.2);
}

.hc-btn-outline:hover,
.hc-btn-light:hover {
  border-color: var(--hc-blue);
  box-shadow: var(--hc-shadow);
}

.hc-hero .hc-btn-outline:hover,
.hc-final-cta .hc-btn-light:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
}

.hc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hc-section {
  padding: 45px 0;
}

.hc-section-head {
  max-width: 660px;
  margin: 0 auto 24px;
  text-align: center;
}

.hc-section-head .hc-kicker {
  justify-content: center;
}

.hc-section-head h2,
.hc-insights-head h2,
.hc-credentials h2,
.hc-final-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(23px, 2.4vw, 31px);
  line-height: 1.16;
}

.hc-section-head p,
.hc-why-intro p,
.hc-ai-sub,
.hc-credentials p,
.hc-final-cta p {
  margin: 0;
  color: var(--hc-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.hc-center-action {
  margin: 22px 0 0;
  text-align: center;
}

/* Hero */
.hc-hero {
  position: relative;
  padding: 34px 0 36px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(246,251,254,0.92) 45%, rgba(237,249,254,0.66) 100%),
    var(--hc-white);
}

.hc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1.14fr);
  gap: 34px;
  align-items: center;
}

.hc-hero-copy h1 {
  max-width: 610px;
  margin: 0 0 12px;
  font-size: clamp(34px, 4.3vw, 56px);
  line-height: 1.05;
}

.hc-hero-copy h1 span {
  color: var(--hc-blue-dark);
}

.hc-hero-copy h1::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin-top: 14px;
  background: var(--hc-gold);
}

.hc-hero-copy p {
  max-width: 530px;
  margin: 0 0 18px;
  color: var(--hc-muted);
  font-size: 14px;
  line-height: 1.58;
}

.hc-mini-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  color: var(--hc-muted);
  font-size: 12px;
  font-weight: 800;
}

.hc-mini-proof span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hc-mini-proof span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hc-blue);
}

.hc-hero-media {
  position: relative;
}

.hc-hero-media img {
  width: 100%;
  height: auto;
  max-height: 390px;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
  box-shadow: var(--hc-shadow);
  background: var(--hc-white);
}

.hc-credential-card {
  position: absolute;
  right: 18px;
  top: 76px;
  width: min(235px, 56%);
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--hc-border);
  border-left: 4px solid var(--hc-blue);
  border-radius: 6px;
  box-shadow: 0 14px 28px rgba(5, 6, 7, 0.12);
}

.hc-credential-card strong,
.hc-credential-card span {
  display: block;
}

.hc-credential-card strong {
  margin-bottom: 3px;
  color: var(--hc-ink);
  font-size: 12.5px;
  line-height: 1.3;
}

.hc-credential-card span {
  color: var(--hc-muted);
  font-size: 11px;
  font-weight: 800;
}

/* Trust strip */
.hc-trust {
  padding: 0 0 32px;
  background: linear-gradient(180deg, var(--hc-blue-soft), var(--hc-white));
}

.hc-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--hc-border);
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  box-shadow: var(--hc-shadow);
  transform: translateY(-18px);
}

.hc-trust-grid div {
  min-height: 82px;
  padding: 18px 20px;
  background: var(--hc-white);
}

.hc-trust-grid strong,
.hc-trust-grid span {
  display: block;
}

.hc-trust-grid strong {
  margin-bottom: 4px;
  color: var(--hc-ink);
  font-family: 'Merriweather', Georgia, serif;
  font-size: 15px;
  line-height: 1.2;
}

.hc-trust-grid span {
  color: var(--hc-muted);
  font-size: 11.5px;
  line-height: 1.35;
}

/* Services */
.hc-services {
  padding-top: 28px;
  background: var(--hc-white);
}

.hc-service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.hc-service-card {
  min-height: 244px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 21px 14px;
  background: var(--hc-white);
  border: 1px solid var(--hc-border);
  border-radius: 7px;
  color: inherit;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(5, 6, 7, 0.035);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.hc-service-card:hover {
  transform: translateY(-4px);
  border-color: var(--hc-blue);
  box-shadow: var(--hc-shadow);
}

.hc-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 13px;
  color: var(--hc-blue-dark);
  background: var(--hc-blue-soft);
  border-radius: 7px;
}

.hc-icon svg {
  width: 24px;
  height: 24px;
}

.hc-service-card strong {
  display: block;
  margin: 0 0 8px;
  color: var(--hc-ink);
  font-size: 14.5px;
  line-height: 1.28;
}

.hc-service-card > span:not(.hc-icon) {
  color: var(--hc-muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.hc-service-card em {
  margin-top: auto;
  padding-top: 13px;
  color: var(--hc-blue-dark);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 900;
}

/* Why */
.hc-why {
  background: linear-gradient(180deg, #f7fbfe, var(--hc-white));
}

.hc-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.hc-why-intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hc-why-intro h2 {
  margin: 0 0 9px;
  font-size: clamp(24px, 2.4vw, 31px);
  line-height: 1.18;
}

.hc-why-intro .hc-btn {
  display: none;
}

.hc-reason-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.hc-reason {
  min-height: 190px;
  padding: 20px 13px;
  background: var(--hc-white);
  border: 1px solid var(--hc-border);
  border-radius: 7px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(5, 6, 7, 0.035);
}

.hc-reason > span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--hc-blue-dark);
  background: var(--hc-blue-soft);
  border-radius: 50%;
}

.hc-reason svg {
  width: 18px;
  height: 18px;
}

.hc-reason h3 {
  margin: 0 0 7px;
  font-family: 'Source Sans 3', 'Inter', Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.hc-reason p {
  margin: 0;
  color: var(--hc-muted);
  font-size: 11.2px;
  line-height: 1.48;
}

/* AI */
.hc-ai {
  background: var(--hc-white);
}

.hc-ai-grid {
  display: grid;
  grid-template-columns: minmax(310px, 0.78fr) minmax(460px, 1.22fr);
  gap: 34px;
  align-items: center;
}

.hc-ai-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(25px, 2.8vw, 35px);
}

.hc-ai-sub {
  max-width: 430px;
}

.hc-ai-prompts {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.hc-ai-prompts button {
  width: 100%;
  min-height: 40px;
  padding: 9px 13px;
  color: var(--hc-ink);
  background: var(--hc-white);
  border: 1px solid var(--hc-border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.hc-ai-prompts button:hover {
  border-color: var(--hc-blue);
}

.hc-ai-panel {
  overflow: hidden;
  background: var(--hc-white);
  border: 1px solid var(--hc-border);
  border-radius: 7px;
  box-shadow: var(--hc-shadow);
}

.hc-ai-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  background: var(--hc-ink);
}

.hc-ai-top strong,
.hc-ai-top span {
  display: block;
}

.hc-ai-top strong {
  color: var(--hc-white);
  font-size: 15px;
}

.hc-ai-top span {
  color: var(--hc-blue);
  font-size: 11px;
  font-weight: 900;
}

.hc-ai-top small {
  padding: 5px 9px;
  color: var(--hc-white);
  background: rgba(45, 174, 224, 0.2);
  border: 1px solid rgba(45, 174, 224, 0.5);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.hc-ai-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  max-height: 280px;
  overflow-y: auto;
  padding: 16px;
  background: #f8fbfd;
}

.hc-message,
.hc-ai-messages .msg {
  width: fit-content;
  max-width: 84%;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--hc-ink);
  font-size: 12.5px;
  line-height: 1.48;
}

.hc-message-ai,
.hc-ai-messages .ai-message,
.hc-ai-messages .typing {
  background: var(--hc-white);
  border: 1px solid var(--hc-border);
}

.hc-message-user,
.hc-ai-messages .user-message {
  align-self: flex-end;
  background: var(--hc-blue-dark);
  color: var(--hc-white);
}

.hc-ai-messages .msg-wrapper {
  display: flex;
}

.hc-ai-messages .msg-wrapper:has(.user-message) {
  justify-content: flex-end;
}

.hc-ai-form {
  display: flex;
  gap: 9px;
  padding: 12px;
  background: var(--hc-white);
  border-top: 1px solid var(--hc-border);
}

.hc-ai-form input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 13px;
  border: 1px solid var(--hc-border);
  border-radius: 6px;
  color: var(--hc-ink);
  font-size: 13px;
}

.hc-ai-form button {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hc-white);
  background: var(--hc-blue-dark);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.hc-ai-form button svg {
  width: 18px;
  height: 18px;
}

/* Training */
.hc-training {
  background: linear-gradient(180deg, var(--hc-white), #f8fbfd);
}

.hc-training-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.hc-training-grid a {
  min-height: 158px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px 14px;
  color: var(--hc-ink);
  background:
    linear-gradient(135deg, rgba(45,174,224,0.1), transparent 58%),
    var(--hc-white);
  border: 1px solid var(--hc-border);
  border-radius: 7px;
  box-shadow: 0 8px 20px rgba(5, 6, 7, 0.035);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.32;
  text-align: center;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.hc-training-grid a:hover {
  transform: translateY(-3px);
  border-color: var(--hc-blue);
  box-shadow: var(--hc-shadow);
}

/* Insights */
.hc-insights {
  background: var(--hc-white);
}

.hc-insights-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.hc-link {
  color: var(--hc-blue-dark);
  font-weight: 900;
  text-decoration: none;
}

.hc-insight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hc-insight {
  display: grid;
  grid-template-rows: 145px auto;
  overflow: hidden;
  color: inherit;
  background: var(--hc-white);
  border: 1px solid var(--hc-border);
  border-radius: 7px;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(5, 6, 7, 0.035);
}

.hc-insight-thumb {
  background: linear-gradient(135deg, var(--hc-blue-soft), var(--hc-silver-soft));
  background-size: cover;
  background-position: center;
}

.hc-insight-body {
  display: block;
  padding: 15px;
}

.hc-insight-body strong,
.hc-insight-body small {
  display: block;
}

.hc-insight-body strong {
  margin-bottom: 8px;
  color: var(--hc-ink);
  font-size: 13.5px;
  line-height: 1.35;
}

.hc-insight-body small {
  color: var(--hc-muted);
  font-size: 11px;
  font-weight: 800;
}

/* Credentials */
.hc-credentials {
  padding: 34px 0;
  background: var(--hc-silver-soft);
}

.hc-credentials-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.65fr);
  gap: 28px;
  align-items: center;
  padding: 22px;
  background: var(--hc-white);
  border: 1px solid var(--hc-border);
  border-radius: 7px;
}

.hc-credentials-list {
  display: grid;
  gap: 8px;
}

.hc-credentials-list span {
  padding: 11px 13px;
  color: var(--hc-ink);
  background: var(--hc-silver-soft);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

/* Final CTA */
.hc-final-cta {
  padding: 42px 0;
  color: var(--hc-white);
  background:
    radial-gradient(circle at 78% 15%, rgba(45,174,224,0.2), transparent 34%),
    var(--hc-ink);
}

.hc-final-cta .hc-kicker,
.hc-final-cta h2 {
  color: var(--hc-white);
}

.hc-final-cta .hc-kicker::before {
  background: var(--hc-blue);
}

.hc-final-cta p {
  color: rgba(255,255,255,0.76);
}

.hc-final-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.hc-phone {
  color: var(--hc-blue);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .hc-service-grid,
  .hc-reason-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hc-insight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .hc-hero-grid,
  .hc-ai-grid,
  .hc-credentials-inner {
    grid-template-columns: 1fr;
  }

  .hc-hero-media img {
    height: auto;
    max-height: 360px;
  }

  .hc-trust-grid,
  .hc-training-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hc-final-inner,
  .hc-insights-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .hc-wrap {
    width: min(100% - 28px, 1120px);
  }

  .hc-section {
    padding: 36px 0;
  }

  .hc-hero {
    padding: 34px 0 28px;
  }

  .hc-hero-copy h1 {
    font-size: 34px;
  }

  .hc-hero-media img {
    height: auto;
    max-height: none;
  }

  .hc-credential-card {
    position: static;
    width: 100%;
    margin-top: 10px;
  }

  .hc-service-grid,
  .hc-reason-grid,
  .hc-training-grid,
  .hc-insight-grid {
    grid-template-columns: 1fr;
  }

  .hc-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hc-actions,
  .hc-actions .hc-btn {
    width: 100%;
  }
}
