/* ==========================================================================
   WHY ATIYEH AFARIN — shrunk down (was far taller than it needed to be),
   a subtle hand-drawn kilim-motif background (an actual textile
   reference, not a generic pattern), and a GSAP entrance to match the
   rest of the homepage's 2026 motion language.
   ========================================================================== */
.why-us{
  position: relative;
  width: 100%;
  padding: var(--sp-6) var(--sp-8);
  overflow: hidden;
}

/* Carpet-motif background — a faint repeating diamond/border pattern
   reminiscent of a kilim border, not a literal photo. Kept extremely
   quiet (opacity ~.06) so it reads as texture, never decoration. */
.why-us::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='96' height='96'><g fill='none' stroke='%23183C36' stroke-width='1.4'><path d='M48 6 L90 48 L48 90 L6 48 Z'/><path d='M48 26 L70 48 L48 70 L26 48 Z'/></g></svg>");
  background-size: 96px 96px;
}

.why-us .section-head{
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.why-us h2{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(var(--text-4), 3vw, var(--text-6));
  color: var(--forest);
}
.why-us .section-subtitle{
  font-size: var(--text-1);
  color: var(--bronze);
}

.why-grid{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.why-card{
  background: var(--warm-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-1);
  padding: var(--sp-4) var(--sp-3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  transition: transform var(--d3) var(--ease), box-shadow var(--d3) var(--ease);
}
/* Visibility controlled by JS only - see featured-collections.css comment */

.why-card .why-icon{
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  transition: transform var(--d2) var(--ease);
}
.why-card .why-icon svg{ width: 100%; height: 100%; }

.why-card h3{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-2);
  color: var(--forest);
  margin-top: 2px;
}

.why-card p{
  font-size: var(--text-small);
  color: var(--bronze);
  max-width: 26ch;
}

.why-card .why-underline{
  width: 0;
  height: 2px;
  background: var(--gold);
  margin-top: 2px;
  transition: width var(--d2) var(--ease);
}

/* ---- Hover: lift, deeper shadow, icon scale + gentle rotate, underline grows ---- */
.why-card:hover{
  transform: translateY(-8px);
  box-shadow: var(--shadow-2);
}
.why-card:hover .why-icon{ transform: scale(1.12) rotate(-4deg); }
.why-card:hover .why-underline{ width: 40px; }

@media (prefers-reduced-motion: reduce){
  .why-card, .why-icon, .why-underline{ transition-duration: .01ms !important; }
}

@media (max-width: 1080px){
  .why-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .why-us{ padding: var(--sp-5) var(--sp-4); }
  .why-grid{ grid-template-columns: 1fr; gap: var(--sp-3); }
}
