/* ==========================================================================
   eCare Conversion Rate Optimization (CRO) & Trust Enhancements
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Google Review & Trust Proof in Hero
   -------------------------------------------------------------------------- */
.hero-proof-enhanced {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.google-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 8px 14px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.google-review-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.google-g-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  display: block;
}

.review-stars {
  color: #ffc107;
  font-size: 13px;
  letter-spacing: 1.5px;
  line-height: 1;
}

.review-text {
  font-size: 11px;
  color: #e2e8f0;
  font-weight: 500;
}

.review-text strong {
  color: #ffffff;
  font-weight: 700;
}

.hero-proof-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
}

.proof-tagline {
  font-size: 11px;
  color: #cbd5e1;
  line-height: 1.45;
}

.proof-tagline strong {
  color: var(--lime, #dcf76c);
}

/* --------------------------------------------------------------------------
   2. Guarantees & Trust Badges Strip
   -------------------------------------------------------------------------- */
.guarantees-section {
  padding: 0 7.2%;
  margin-top: -26px;
  position: relative;
  z-index: 3;
}

.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: #ffffff;
  padding: 22px 24px;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(17, 29, 50, 0.08);
  border: 1px solid #e7ebe4;
}

.guarantee-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.guarantee-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f1f6df;
  color: #6d8515;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.guarantee-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.guarantee-content strong {
  font: 700 13px/1.2 var(--display, 'Manrope', sans-serif);
  color: var(--ink, #121d31);
}

.guarantee-content span {
  font-size: 11px;
  color: #657182;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   3. Brand Compatibility Strip
   -------------------------------------------------------------------------- */
.brand-strip-container {
  padding: 28px 7.2% 0;
}

.brand-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 14px 20px;
  background: #eff3ea;
  border-radius: 8px;
  border: 1px solid #e1e7db;
}

.brand-strip-label {
  font: 700 10px var(--font, sans-serif);
  letter-spacing: 1px;
  color: #637182;
  text-transform: uppercase;
  flex-shrink: 0;
}

.brand-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.brand-pill {
  background: #ffffff;
  border: 1px solid #dbe2d4;
  padding: 4px 11px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  color: #26384f;
  transition: all 0.2s ease;
}

.brand-pill:hover {
  border-color: #92ad27;
  color: #121d31;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   4. Floating WhatsApp Chat Widget
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  filter: drop-shadow(0 6px 18px rgba(37, 211, 102, 0.45));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.04);
}

.floating-whatsapp .wa-button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  position: relative;
}

.floating-whatsapp .wa-tooltip {
  position: absolute;
  right: 66px;
  white-space: nowrap;
  background: #111d32;
  color: #ffffff;
  padding: 7px 13px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.2s, transform 0.2s;
}

.floating-whatsapp .wa-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #111d32;
}

.floating-whatsapp:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.wa-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.45;
  animation: wa-ripple 2.2s infinite ease-out;
  z-index: -1;
}

@keyframes wa-ripple {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.48); opacity: 0; }
}

/* --------------------------------------------------------------------------
   5. Mobile Sticky Bottom Action Bar (Call + WhatsApp)
   -------------------------------------------------------------------------- */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: #ffffff;
  box-shadow: 0 -4px 18px rgba(18, 29, 49, 0.12);
  border-top: 1px solid #e5e9e2;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.mobile-action-btn:active {
  opacity: 0.85;
}

.mobile-action-call {
  background: #111d32;
  color: #ffffff;
}

.mobile-action-whatsapp {
  background: #25D366;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 950px) {
  .guarantees-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 18px;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 64px; /* Space for mobile sticky action bar */
  }

  .mobile-action-bar {
    display: grid;
  }

  /* Reposition floating WA button above the sticky bar on mobile */
  .floating-whatsapp {
    bottom: 74px;
    right: 18px;
  }

  .floating-whatsapp .wa-button {
    width: 48px;
    height: 48px;
  }

  .floating-whatsapp .wa-tooltip {
    display: none;
  }

  .guarantees-section {
    margin-top: -14px;
    padding: 0 5%;
  }

  .guarantees-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-proof-enhanced {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero-proof-divider {
    display: none;
  }

  .brand-strip-container {
    padding: 20px 5% 0;
  }

  .brand-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* --------------------------------------------------------------------------
   6. Upgraded Interactive "How It Works" Section
   -------------------------------------------------------------------------- */
.process-section {
  padding: 85px 7.2% 70px;
  background: #f7f8f4;
  position: relative;
}

.process-head-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}

.process-head-wrap .section-head {
  margin-bottom: 0;
  max-width: 620px;
}

/* Workflow Switcher Tabs */
.process-tabs {
  display: inline-flex;
  background: #e9eee4;
  padding: 4px;
  border-radius: 40px;
  gap: 4px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}

.process-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 30px;
  border: 0;
  background: transparent;
  color: #556271;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.process-tab .tab-icon {
  font-size: 15px;
  line-height: 1;
}

.process-tab em {
  font-style: normal;
  font-weight: 500;
  font-size: 10.5px;
  color: #7b8897;
  transition: color 0.2s ease;
}

.process-tab:hover {
  color: #111d32;
}

.process-tab.is-active {
  background: #111d32;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(17, 29, 50, 0.18);
}

.process-tab.is-active em {
  color: #a5b4c7;
}

/* Workflow Container & Panels */
.process-workflow {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.process-workflow.is-active {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
}

/* 4-Step Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}

/* Connecting line across cards on desktop */
.process-grid::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 35px;
  right: 35px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #d2dcce 0, #d2dcce 8px, transparent 8px, transparent 16px);
  z-index: 1;
  pointer-events: none;
}

/* Individual Process Card */
.process-card {
  background: #ffffff;
  border: 1.5px solid #e2e8dc;
  border-radius: 12px;
  padding: 24px 20px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 310px;
  z-index: 2;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(17, 29, 50, 0.04);
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: #8ea824;
  box-shadow: 0 12px 28px rgba(17, 29, 50, 0.09);
}

.process-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.process-step-num {
  font-family: var(--display, 'Manrope', sans-serif);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #111d32;
  line-height: 1;
}

.process-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f1f6e6;
  border: 2px solid #e1ebc9;
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: all 0.25s ease;
}

.process-card:hover .process-icon-badge {
  background: var(--lime, #dcf76c);
  border-color: #8ea824;
  transform: scale(1.08) rotate(5deg);
}

.process-card-body {
  flex: 1;
  position: relative;
  z-index: 2;
}

.process-phase {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #7b9415;
  margin-bottom: 6px;
}

.process-card h3 {
  font-family: var(--display, 'Manrope', sans-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.5px;
  color: #111d32;
  margin: 0 0 10px;
}

.process-card p {
  font-size: 12px;
  color: #606d7e;
  line-height: 1.65;
  margin: 0 0 16px;
}

/* Micro Trust Pills Group */
.process-pill-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 14px;
  border-top: 1px dashed #e5ebe0;
  margin-top: auto;
  position: relative;
  z-index: 2;
  max-width: calc(100% - 68px);
}

.process-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 600;
  color: #3e4d5e;
  background: #f6f8f5;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #e6ece1;
}

/* --------------------------------------------------------------------------
   Step Card Illustrations & Cliparts (Matching Service Cards Aesthetic)
   -------------------------------------------------------------------------- */
.process-card .card-illustration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 95px;
  height: 95px;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0.88;
}

.process-card:hover .card-illustration {
  transform: scale(1.08) translateY(-3px);
  opacity: 1;
}

/* 1. Booking Phone Clipart */
.step-ill-book .ill-phone {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 38px;
  height: 70px;
  background: #182638;
  border-radius: 9px;
  border: 2.5px solid #0d1726;
  transform: rotate(10deg);
  padding: 3px;
  box-shadow: 0 8px 16px rgba(17, 29, 50, 0.18);
}

.step-ill-book .ill-screen {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(135deg, #e3f37b, #badc52);
  display: grid;
  place-items: center;
}

.step-ill-book .ill-screen i {
  font-style: normal;
  font-size: 16px;
  font-weight: 800;
  color: #1a2b0a;
}

.step-ill-book .ill-time-chip {
  position: absolute;
  right: 42px;
  top: 14px;
  background: #111d32;
  color: #dcf76c;
  font-size: 8px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.step-ill-book .spark {
  position: absolute;
  right: 6px;
  top: 8px;
  color: #8ea824;
  font-size: 18px;
}

/* 2. Doorstep Toolkit Clipart */
.step-ill-van .ill-toolkit {
  position: absolute;
  right: 8px;
  bottom: 10px;
  width: 58px;
  height: 40px;
  background: #1d2e46;
  border: 2.5px solid #101c2f;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(17, 29, 50, 0.18);
}

.step-ill-van .ill-toolkit b {
  font-size: 10px;
  font-weight: 800;
  color: #dcf76c;
  letter-spacing: -0.5px;
}

.step-ill-van .ill-handle {
  position: absolute;
  top: -10px;
  left: calc(50% - 11px);
  width: 22px;
  height: 9px;
  border: 2px solid #4a6280;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}

.step-ill-van .ill-latch {
  position: absolute;
  top: 5px;
  width: 14px;
  height: 3px;
  background: #8ea824;
  border-radius: 2px;
}

.step-ill-van .ill-pin {
  position: absolute;
  right: 46px;
  top: 8px;
  font-size: 20px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.22));
}

/* 3. In-Person Repair Laptop Clipart */
.step-ill-fix .mini-laptop {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 64px;
  height: 44px;
  background: #243852;
  border: 2.5px solid #111d32;
  border-radius: 5px;
  padding: 3px;
  box-shadow: 0 8px 16px rgba(17, 29, 50, 0.18);
}

.step-ill-fix .ill-screen-glow {
  width: 100%;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(135deg, #e4f2b5, #badc52);
}

.step-ill-fix .ill-driver {
  position: absolute;
  right: 46px;
  bottom: 22px;
  width: 6.5px;
  height: 48px;
  background: linear-gradient(to top, #7d96b0, #36485d);
  border-radius: 3px;
  transform: rotate(-35deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.step-ill-fix .spark {
  position: absolute;
  right: 4px;
  top: 6px;
  color: #8ea824;
  font-size: 18px;
}

/* 4. Warranty Shield Clipart */
.step-ill-shield .ill-shield {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 50px;
  height: 58px;
  background: linear-gradient(145deg, #18283e, #0e1726);
  border: 2px solid #8ea824;
  border-radius: 7px 7px 24px 24px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(17, 29, 50, 0.2);
}

.step-ill-shield .ill-shield i {
  font-style: normal;
  font-size: 20px;
  font-weight: 800;
  color: #dcf76c;
}

.step-ill-shield .ill-ribbon {
  position: absolute;
  bottom: -6px;
  background: #8ea824;
  color: #ffffff;
  font-size: 7.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.step-ill-shield .star-spark {
  position: absolute;
  right: 46px;
  top: 8px;
  color: #ffc107;
  font-size: 15px;
}

/* 5. CCTV & Networking Specific Cliparts */
.step-ill-scope .ill-house {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 46px;
  height: 38px;
  background: #1f324a;
  border: 2.5px solid #101c2e;
  border-radius: 4px;
  box-shadow: 0 8px 16px rgba(17, 29, 50, 0.18);
}

.step-ill-scope .ill-roof {
  position: absolute;
  top: -15px;
  left: -6px;
  width: 0;
  height: 0;
  border-left: 29px solid transparent;
  border-right: 29px solid transparent;
  border-bottom: 15px solid #101c2e;
}

.step-ill-scope .ill-beam {
  position: absolute;
  right: 36px;
  bottom: 24px;
  width: 30px;
  height: 30px;
  border-right: 2px dashed #8ea824;
  border-top: 2px dashed #8ea824;
  border-radius: 0 30px 0 0;
  transform: rotate(-20deg);
}

.step-ill-survey .ill-clipboard {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 44px;
  height: 58px;
  background: #f7f9f4;
  border: 2.5px solid #24364e;
  border-radius: 6px;
  padding: 8px 5px;
  box-shadow: 0 8px 16px rgba(17, 29, 50, 0.15);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step-ill-survey .ill-clip {
  position: absolute;
  top: -6px;
  left: calc(50% - 10px);
  width: 20px;
  height: 7px;
  background: #8ea824;
  border-radius: 3px;
}

.step-ill-survey .ill-lines i {
  display: block;
  height: 3px;
  background: #cbd6e2;
  border-radius: 2px;
  margin-bottom: 4px;
}

.step-ill-survey .spark {
  position: absolute;
  right: 44px;
  top: 10px;
  color: #7b9415;
  font-size: 15px;
  font-weight: 800;
}

.step-ill-live .ill-phone {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 40px;
  height: 68px;
  background: #182638;
  border-radius: 8px;
  border: 2.5px solid #0d1726;
  transform: rotate(8deg);
  padding: 3px;
  box-shadow: 0 8px 16px rgba(17, 29, 50, 0.18);
}

.step-ill-live .ill-cctv-grid {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  background: #111923;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 2px;
}

.step-ill-live .ill-cctv-grid i {
  background: linear-gradient(135deg, #2a3d56, #1b2838);
  border-radius: 2px;
}

.step-ill-live .ill-live-tag {
  position: absolute;
  right: 36px;
  top: 10px;
  background: #111d32;
  color: #25d366;
  font-size: 8px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.process-card .camera-illustration {
  transform: scale(0.78);
  transform-origin: bottom right;
}

.process-card:hover .camera-illustration {
  transform: scale(0.85) translateY(-3px);
}

/* Process Section Footer CTA */
.process-footer-cta {
  margin-top: 32px;
  background: #111d32;
  color: #ffffff;
  border-radius: 10px;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  box-shadow: 0 10px 25px rgba(17, 29, 50, 0.15);
}

.cta-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cta-left strong {
  font-family: var(--display, 'Manrope', sans-serif);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.cta-left span {
  font-size: 12px;
  color: #b7c4d5;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button-outline-dark {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.button-outline-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid::before {
    display: none;
  }
}

@media (max-width: 700px) {
  .process-section {
    padding: 55px 5% 45px;
  }
  .process-head-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }
  .process-tabs {
    width: 100%;
    flex-direction: column;
    border-radius: 12px;
  }
  .process-tab {
    width: 100%;
    justify-content: center;
    border-radius: 8px;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .process-card .card-illustration {
    transform: scale(0.85);
    transform-origin: bottom right;
    right: 8px;
    bottom: 8px;
  }
  .process-footer-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .cta-actions {
    width: 100%;
    flex-direction: column;
  }
  .cta-actions .button {
    width: 100%;
    justify-content: center;
  }
}
