/* ============================================================
   services.css — KRITA Renewables
   Bento-style service cards: uneven 2-col grid, left wider
   ============================================================ */

/* Uneven 2-col grid: breaks equal-box template pattern */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-6);
}

.service-card {
  background: var(--clr-white);
  padding: var(--sp-10);
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  box-shadow: 0 10px 30px rgba(40, 60, 90, 0.10), 0 2px 8px rgba(40, 60, 90, 0.05);
  transition: all .4s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Sliding accent border matches Cordia Lime/Teal */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-cordia);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(40, 60, 90, 0.12), 0 4px 12px rgba(40, 60, 90, 0.04);
  border-color: rgba(74, 222, 159, 0.4);
}

.service-card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 192, 165, 0.08);
  color: var(--clr-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-6);
  transition: all 0.3s var(--ease);
}

.service-card:hover .card-icon {
  background: var(--clr-primary);
  color: #ffffff;
}

.card-title {
  font-size: 1.35rem;
  color: var(--clr-secondary);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}

.card-text {
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-6);
  font-size: .95rem;
  line-height: 1.7;
  flex-grow: 1;
}

.card-link {
  color: var(--clr-primary);
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.card-link:hover { gap: var(--sp-3); }

/* Status badges (ACTIVE / IN DEVELOPMENT) */
.status-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 16px;
  align-self: flex-start;
  background: rgba(35, 18, 60, 0.05);
  color: var(--clr-text-muted);
}
.status-badge.active {
  background: rgba(0, 192, 165, 0.1);
  color: var(--clr-primary);
}

/* Service feature rows (services page alternating layout) */
.service-feature-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
  margin-top: 4rem;
}
.service-feature-row.reverse { grid-template-columns: 1.2fr 1fr; }
.service-feature-row.reverse .service-info { order: 1; }
.service-feature-row.reverse .service-img  { order: 2; }

.service-feature-row h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--clr-secondary);
}
.service-feature-row p {
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.service-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.service-img img { width: 100%; height: auto; display: block; }

/* Process steps (4-col staggered) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  counter-reset: step;
}

.process-step:nth-child(2) { margin-top: 20px; }
.process-step:nth-child(3) { margin-top: 10px; }
.process-step:nth-child(4) { margin-top: 30px; }

.process-step {
  counter-increment: step;
  position: relative;
  padding: var(--sp-8) var(--sp-6);
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(40, 60, 90, 0.10), 0 2px 8px rgba(40, 60, 90, 0.05);
  transition: all .4s var(--ease);
}

.process-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(40, 60, 90, 0.12), 0 4px 12px rgba(40, 60, 90, 0.04);
  border-color: rgba(74, 222, 159, 0.4);
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(0, 192, 165, .1);
  line-height: 1;
  display: block;
  margin-bottom: var(--sp-4);
}

.process-step h4 { font-size: 1.1rem; margin-bottom: var(--sp-3); }
.process-step p  { font-size: .9rem; color: var(--clr-text-muted); line-height: 1.6; }

/* ===== HOME: DELIVERY / PROCESS CARDS ===== */
.delivery-card {
  text-align: center;
  background: var(--clr-white) !important;
  padding: 2.5rem 2rem !important;
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border) !important;
  box-shadow: 0 10px 30px rgba(40, 60, 90, 0.10), 0 2px 8px rgba(40, 60, 90, 0.05) !important;
  transition: all 0.4s var(--ease) !important;
  position: relative;
}

.delivery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(40, 60, 90, 0.12), 0 4px 12px rgba(40, 60, 90, 0.04) !important;
  border-color: rgba(74, 222, 159, 0.4) !important;
}

.delivery-card .step-number {
  width: 60px;
  height: 60px;
  background: var(--clr-secondary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  transition: all 0.4s var(--ease);
}

.delivery-card:hover .step-number {
  background: var(--clr-primary);
  color: var(--clr-secondary);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(74, 222, 159, 0.3);
}

.delivery-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--clr-secondary);
  margin-bottom: 0.8rem;
  transition: color 0.3s ease;
}

.delivery-card:hover h4 {
  color: var(--clr-primary-dark);
}

.delivery-card p {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== HOME: DIFFERENTIATOR CARDS ===== */
.differentiator-card {
  background: var(--clr-white) !important;
  padding: 2.5rem 2rem !important;
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border) !important;
  box-shadow: 0 10px 30px rgba(40, 60, 90, 0.10), 0 2px 8px rgba(40, 60, 90, 0.05) !important;
  transition: all 0.4s var(--ease) !important;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.differentiator-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(40, 60, 90, 0.12), 0 4px 12px rgba(40, 60, 90, 0.04) !important;
  border-color: rgba(74, 222, 159, 0.4) !important;
}

.differentiator-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--clr-secondary);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.differentiator-card .bullet-dot {
  width: 40px;
  height: 40px;
  background: rgba(0, 192, 165, 0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-primary-dark);
  font-size: 1.2rem;
  transition: all 0.4s var(--ease);
}

.differentiator-card:hover .bullet-dot {
  background: var(--clr-primary);
  color: var(--clr-secondary);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(74, 222, 159, 0.3);
}

.differentiator-card p {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.differentiator-card .value-badge {
  font-size: 0.85rem;
  background: rgba(0, 192, 165, 0.06);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--clr-secondary);
  font-weight: 600;
  transition: all 0.4s var(--ease);
}

.differentiator-card:hover .value-badge {
  background: rgba(74, 222, 159, 0.12);
  color: var(--clr-secondary);
}

/* ===== HOME: ON-SITE ENERGY CARDS ===== */
.onsite-energy-card {
  background: var(--clr-white) !important;
  padding: 2rem !important;
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border) !important;
  box-shadow: 0 10px 30px rgba(40, 60, 90, 0.10), 0 2px 8px rgba(40, 60, 90, 0.05) !important;
  display: flex;
  gap: 1.5rem;
  transition: all 0.4s var(--ease) !important;
  height: 100%;
}

.onsite-energy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(40, 60, 90, 0.12), 0 4px 12px rgba(40, 60, 90, 0.04) !important;
  border-color: rgba(74, 222, 159, 0.4) !important;
}

.onsite-energy-card .icon-container {
  width: 100px;
  height: 100px;
  background: rgba(0, 192, 165, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-primary-dark);
  transition: all 0.4s var(--ease);
}

.onsite-energy-card:hover .icon-container {
  background: var(--clr-primary);
  color: var(--clr-secondary);
  transform: scale(1.05);
}

/* ===== HOME: WHAT WE DELIVER CARDS ===== */
.home-service-card {
  background: var(--clr-white) !important;
  padding: 2.5rem !important;
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border) !important;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(40, 60, 90, 0.10), 0 2px 8px rgba(40, 60, 90, 0.05) !important;
  transition: all 0.4s var(--ease) !important;
  height: 100%;
}

.home-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(40, 60, 90, 0.12), 0 4px 12px rgba(40, 60, 90, 0.04) !important;
  border-color: rgba(74, 222, 159, 0.4) !important;
}

.home-service-card .icon-container {
  width: 100px;
  height: 100px;
  background: rgba(0, 192, 165, 0.08);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary-dark);
  margin-bottom: 1.5rem;
  transition: all 0.4s var(--ease);
}

.home-service-card:hover .icon-container {
  background: var(--clr-primary);
  color: var(--clr-secondary);
  transform: scale(1.05);
}

.home-service-card h3 {
  transition: color 0.3s ease;
}

.home-service-card:hover h3 {
  color: var(--clr-primary-dark) !important;
}

/* ===== HOME: RISK CONTROL CARDS ===== */
.risk-control-card {
  background: var(--clr-white) !important;
  padding: 1.5rem 2rem !important;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border) !important;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 10px 30px rgba(40, 60, 90, 0.10), 0 2px 8px rgba(40, 60, 90, 0.05) !important;
  transition: all 0.4s var(--ease) !important;
}

.risk-control-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(40, 60, 90, 0.10), 0 4px 12px rgba(40, 60, 90, 0.04) !important;
  border-color: rgba(74, 222, 159, 0.4) !important;
}

.risk-control-card .check-circle {
  width: 48px;
  height: 48px;
  background: rgba(0, 192, 165, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
  color: var(--clr-primary-dark);
  transition: all 0.4s var(--ease);
}

.risk-control-card:hover .check-circle {
  background: var(--clr-primary);
  color: var(--clr-secondary);
  transform: scale(1.1);
}

/* ===== HOME: INSIGHT CARDS ===== */
.insight-card {
  background: var(--clr-white) !important;
  padding: 2.5rem !important;
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border) !important;
  display: flex;
  flex-direction: column;
  transition: all 0.4s var(--ease) !important;
  box-shadow: 0 10px 30px rgba(40, 60, 90, 0.10), 0 2px 8px rgba(40, 60, 90, 0.05) !important;
  height: 100%;
}

.insight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(40, 60, 90, 0.12), 0 4px 12px rgba(40, 60, 90, 0.04) !important;
  border-color: rgba(74, 222, 159, 0.4) !important;
}

.insight-card h4 {
  transition: color 0.3s ease;
}

.insight-card:hover h4 {
  color: var(--clr-primary-dark) !important;
}

.insight-card a {
  transition: all 0.3s ease;
}

.insight-card:hover a {
  color: var(--clr-primary-dark) !important;
  gap: 0.8rem !important;
}

/* ===== HOME: SECTOR CARDS ===== */
.sector-card {
  background: var(--clr-white) !important;
  padding: 1.5rem !important;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border) !important;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(40, 60, 90, 0.10), 0 2px 8px rgba(40, 60, 90, 0.05) !important;
  transition: all 0.4s var(--ease) !important;
  height: 100%;
}

.sector-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(40, 60, 90, 0.10), 0 4px 12px rgba(40, 60, 90, 0.04) !important;
  border-color: rgba(74, 222, 159, 0.4) !important;
}

.sector-card img {
  transition: all 0.4s var(--ease);
}

.sector-card:hover img {
  transform: scale(1.1);
}

.sector-card h4 {
  transition: color 0.3s ease;
}

.sector-card:hover h4 {
  color: var(--clr-primary-dark) !important;
}

/* ===== HOME: SYSTEM INTEGRATION CARDS ===== */
.integration-card {
  background: var(--clr-white) !important;
  padding: 2.5rem !important;
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border) !important;
  box-shadow: 0 10px 30px rgba(40, 60, 90, 0.10), 0 2px 8px rgba(40, 60, 90, 0.05) !important;
  transition: all 0.4s var(--ease) !important;
  height: 100%;
}

.integration-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(40, 60, 90, 0.12), 0 4px 12px rgba(40, 60, 90, 0.04) !important;
  border-color: rgba(74, 222, 159, 0.4) !important;
}

.integration-card h4 {
  transition: color 0.3s ease;
}

.integration-card:hover h4 {
  color: var(--clr-primary-dark) !important;
}

/* ===== HOME: OPERATING PRINCIPLE CARDS ===== */
.principle-card {
  background: var(--clr-white) !important;
  padding: 2rem !important;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border) !important;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(40, 60, 90, 0.10), 0 2px 8px rgba(40, 60, 90, 0.05) !important;
  transition: all 0.4s var(--ease) !important;
  height: 100%;
}

.principle-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(40, 60, 90, 0.12), 0 4px 12px rgba(40, 60, 90, 0.04) !important;
  border-color: rgba(74, 222, 159, 0.4) !important;
}

.principle-card .check-circle {
  width: 36px;
  height: 36px;
  background: rgba(0, 192, 165, 0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-primary-dark);
  font-size: 1.1rem;
  transition: all 0.4s var(--ease);
}

.principle-card:hover .check-circle {
  background: var(--clr-primary);
  color: var(--clr-secondary);
  transform: scale(1.1);
}

.principle-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-secondary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.principle-card:hover h4 {
  color: var(--clr-primary-dark) !important;
}

/* ===== BUSINESS OUTCOME HIGH-END HIGHLIGHT BOX ===== */
.business-outcome-box {
  margin-top: 26px;
  padding: 18px 20px;
  background: #eef7f4;
  border: 1px solid #a7dbca;
  border-radius: 12px;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(40, 60, 90, 0.08), 0 2px 6px rgba(40, 60, 90, 0.04);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.business-outcome-box .outcome-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #283c5a;
  text-transform: uppercase;
  display: block;
}

.business-outcome-box .outcome-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: #475569; /* Elegant slate gray */
  margin: 0;
  font-weight: 500;
}

