/* ============================================================
   Agratix homepage visual refresh (scoped, additive — index only)
   ============================================================ */

/* ---------- "How We Work" process section ---------- */
.ag-process-intro {
  max-width: 640px;
  margin: 12px auto 0;
  color: var(--gray-text, #5b6573);
  font-size: 1.02rem;
  line-height: 1.6;
  text-align: center;
}
.ag-process {
  max-width: 1180px;
  margin: 44px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.ag-step {
  position: relative;
  background: #fff;
  border: 1px solid rgba(28, 55, 101, 0.08);
  border-radius: 18px;
  padding: 30px 24px 26px;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  overflow: hidden;
}
.ag-step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #5da86a, #489156);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.ag-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
  border-color: rgba(72, 145, 86, 0.35);
}
.ag-step:hover::before { transform: scaleX(1); }
.ag-step-num {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(28, 55, 101, 0.10);
  margin-bottom: 6px;
}
.ag-step-ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(72, 145, 86, 0.1);
  color: var(--primary-green, #489156);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: -34px 0 16px auto;
}
.ag-step h3 {
  font-size: 1.12rem;
  color: var(--primary-blue, #1c3765);
  margin: 0 0 8px;
}
.ag-step p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--gray-text, #5b6573);
  margin: 0;
}
.ag-process-cta {
  text-align: center;
  margin-top: 38px;
}

@media (max-width: 1024px) {
  .ag-process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ag-process { grid-template-columns: 1fr; }
}


/* Gradient accent on the rotating hero word */
.hero-title .rotating-text {
  background: linear-gradient(120deg, #5da86a 0%, #489156 50%, #3a5a9a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  transition: opacity .4s ease, transform .4s ease;
}

/* Reassurance microline under hero CTAs */
.hero-reassure {
  margin-top: 18px;
  font-size: 0.86rem;
  color: var(--gray-text, #5b6573);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 2px;
}
.hero-reassure i {
  color: var(--primary-green, #489156);
  margin-right: 5px;
}

/* ---------- Trust band ---------- */
.trust-band {
  background: linear-gradient(180deg, #f7f9fc 0%, #eef2f8 100%);
  border-top: 1px solid rgba(28, 55, 101, 0.06);
  border-bottom: 1px solid rgba(28, 55, 101, 0.06);
  padding: 26px 20px;
}
.trust-band-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.92rem;
  color: #2b3445;
  flex: 1 1 180px;
  min-width: 170px;
}
.trust-item i {
  font-size: 1.15rem;
  color: var(--primary-green, #489156);
  background: rgba(72, 145, 86, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.trust-item strong { color: var(--primary-blue, #1c3765); }

@media (max-width: 760px) {
  .trust-band-inner { justify-content: flex-start; }
  .trust-item { flex: 1 1 calc(50% - 28px); font-size: 0.85rem; }
}
@media (max-width: 460px) {
  .trust-item { flex: 1 1 100%; }
  .hero-reassure { justify-content: center; text-align: center; }
}
