/* ==========================================================================
   GUARANTEE & SAFETY SECTION - ULTRA MODERN, LUXURIOUS & RESPONSIVE
   ========================================================================== */

.guarantee-section {
  position: relative;
  background: 
    radial-gradient(50% 60% at 100% 0%, color-mix(in srgb, var(--color-primary, #292B9A) 8%, transparent), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, color-mix(in srgb, var(--color-accent, #1A72C9) 7%, transparent), transparent 70%),
    #ffffff;
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
  overflow: hidden;
  border-top: 1px solid color-mix(in srgb, var(--color-line, #DCE1F0) 70%, transparent);
}

.guarantee-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(41, 43, 154, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.guarantee-container {
  position: relative;
  z-index: 1;
}

/* 4 Trust Pillar Cards Grid */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: 2.2rem;
  margin-bottom: 2.2rem;
}

/* Pillar Card */
.guar-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid color-mix(in srgb, var(--color-line, #DCE1F0) 90%, #fff);
  border-radius: 22px;
  padding: clamp(1.4rem, 3vw, 1.85rem);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-shadow: 0 6px 24px rgba(41, 43, 154, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.guar-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 95% 5%,
    color-mix(in srgb, var(--color-primary, #292B9A) 5%, transparent) 0%,
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.guar-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--color-primary, #292B9A), var(--color-accent, #1A72C9));
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.guar-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--color-primary, #292B9A) 30%, transparent);
  box-shadow: 0 16px 36px rgba(41, 43, 154, 0.1), 0 2px 6px rgba(0, 0, 0, 0.02);
}

.guar-card:hover::before {
  opacity: 1;
}

.guar-card:hover::after {
  opacity: 1;
  transform: scaleY(1);
}

/* Pillar Icon */
.guar-icon-box {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.guar-icon-green {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #059669;
  border: 1.5px solid #a7f3d0;
}

.guar-icon-gold {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #d97706;
  border: 1.5px solid #fde68a;
}

.guar-icon-blue {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
  border: 1.5px solid #bfdbfe;
}

.guar-icon-purple {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  color: #7c3aed;
  border: 1.5px solid #ddd6fe;
}

.guar-card:hover .guar-icon-box {
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 8px 20px rgba(41, 43, 154, 0.18);
}

/* Pillar Body */
.guar-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.guar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-pill, 999px);
  margin-bottom: 0.55rem;
  align-self: flex-start;
}

.guar-badge-green {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.guar-badge-gold {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.guar-badge-blue {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.guar-badge-purple {
  background: #f5f3ff;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
}

.guar-title {
  font-family: var(--font-heading), var(--font-body), sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-ink, #1A1B2E);
  margin: 0 0 0.45rem;
  line-height: 1.35;
}

.guar-desc {
  font-size: 0.92rem;
  color: var(--color-muted, #5C6276);
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   TRUST HIGHLIGHT STRIP & ACTIONS
   ========================================================================== */
.guarantee-trust-strip {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1.5px solid color-mix(in srgb, var(--color-line, #DCE1F0) 90%, #fff);
  border-radius: 20px;
  padding: clamp(1.2rem, 3vw, 1.6rem) clamp(1.4rem, 3.5vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 4px 16px rgba(41, 43, 154, 0.03);
}

.trust-badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-ink, #1A1B2E);
}

.trust-badge-item i {
  color: #059669;
  font-size: 1.05rem;
}

.guar-cta-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.guar-btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--color-primary, #292B9A);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.94rem;
  padding: 0.75rem 1.45rem;
  border-radius: var(--radius-pill, 999px);
  box-shadow: 0 4px 16px rgba(41, 43, 154, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.guar-btn-call:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(41, 43, 154, 0.38);
  background: var(--color-primary-dark, #1E2070);
  color: #ffffff;
}

.guar-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #25D366;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.94rem;
  padding: 0.75rem 1.45rem;
  border-radius: var(--radius-pill, 999px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.28);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.guar-btn-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  background: #20bd5a;
  color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Tablets (max-width: 900px) */
@media (max-width: 900px) {
  .guarantee-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .guarantee-trust-strip {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 1.2rem;
  }

  .trust-badges-row {
    justify-content: center;
  }

  .guar-cta-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Mobile Screens (max-width: 580px) */
@media (max-width: 580px) {
  .guar-card {
    flex-direction: column;
    padding: 1.35rem 1.1rem;
    gap: 1rem;
  }

  .guar-icon-box {
    width: 50px;
    height: 50px;
    font-size: 1.35rem;
    border-radius: 14px;
  }

  .guar-title {
    font-size: 1.05rem;
  }

  .guar-desc {
    font-size: 0.88rem;
  }

  .trust-badges-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
  }

  .guar-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .guar-btn-call,
  .guar-btn-wa {
    width: 100%;
    justify-content: center;
  }
}
