/* ============================================
   WHY CHOOSE US — LIGHT MODE
   ============================================ */

.why-us {
  /* Brand colors */
  --w-primary:   var(--primary,   #fb8500);
  --w-secondary: var(--secondary, #ffb703);
  --w-accent-1:  var(--accent-1,  #219ebc);
  --w-accent-2:  var(--accent-2,  #023047);

  /* Light neutrals */
  --w-bg:          #ffffff;
  --w-surface:     #f8fafc;
  --w-text:        #0f172a;
  --w-muted:       #4b5563;
  --w-dim:         #64748b;
  --w-border-soft: #f1f5f9;

  /* Type */
  --w-font-display: var(--font-display, 'Space Grotesk', system-ui, sans-serif);
  --w-font-body:    var(--font-body, 'Inter', system-ui, sans-serif);

  /* Motion */
  --w-ease: cubic-bezier(0.2, 0.7, 0.3, 1);

  position: relative;
  isolation: isolate;
  overflow: hidden;

  padding: clamp(4.5rem, 11vh, 8rem) 0;
  background: var(--w-bg);
  color: var(--w-text);
  font-family: var(--w-font-body);
  border-top: 1px solid var(--w-border-soft);
}

/* Soft warm/cool glow in opposing corners */
.why-us__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    radial-gradient(ellipse 55% 45% at 5% 10%,
      rgba(251, 133, 0, 0.06) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 95% 90%,
      rgba(33, 158, 188, 0.06) 0%, transparent 65%);
}

/* ============================================
   LAYOUT
   ============================================ */
.why-us__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

/* ============================================
   COPY
   ============================================ */
.why-us__head {
  margin-bottom: 1.85rem;
}

.why-us__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;

  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--w-primary);
}

.why-us__eyebrow::before {
  content: '';
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.why-us__title {
  margin-top: 1rem;

  font-family: var(--w-font-display);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.032em;
  color: var(--w-text);
  text-wrap: balance;
}

/* Body copy */
.why-us__body {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;

  max-width: 62ch;
}

.why-us__body p {
  font-size: clamp(0.96rem, 1.3vw, 1.03rem);
  line-height: 1.75;
  color: var(--w-muted);
  text-wrap: pretty;
}

/* ============================================
   IMAGE
   ============================================ */
.why-us__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.why-us__image-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;

  padding: clamp(1rem, 2vw, 1.5rem);

  border-radius: 24px;

  /* Soft tile so the transparent PNG sits on something */
  background:
    radial-gradient(ellipse at 50% 30%,
      rgba(251, 133, 0, 0.08) 0%,
      rgba(33, 158, 188, 0.06) 60%,
      transparent 100%),
    var(--w-surface);

  transition: transform 0.6s var(--w-ease);
}

.why-us__image-wrap:hover {
  transform: translateY(-4px);
}

/* Decorative accent ring behind the tile */
.why-us__image-wrap::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;

  background: linear-gradient(135deg,
    rgba(251, 133, 0, 0.4) 0%,
    rgba(255, 183, 3, 0.15) 35%,
    rgba(33, 158, 188, 0.25) 70%,
    transparent 100%);

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
          mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;

  pointer-events: none;
}

.why-us__image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .why-us__inner {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 6vw, 2.5rem);
  }

  .why-us__body {
    max-width: 100%;
  }

  .why-us__visual {
    order: -1;   /* image comes first on mobile — breaks the text wall */
  }

  .why-us__image-wrap {
    max-width: 380px;
  }
}

@media (max-width: 640px) {
  .why-us__eyebrow {
    font-size: 0.66rem;
  }

  .why-us__eyebrow::before {
    width: 1.25rem;
  }

  .why-us__image-wrap {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .why-us__image-wrap {
    transition-duration: 0.01ms;
  }
}