/* Impact Page — Impact Cards, Approach */

/* ─── IMPACT ─── */
.impact {
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 8rem 2rem;
}
.impact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(201,168,76,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(201,168,76,0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(201,168,76,0.02) 0%, transparent 70%);
}
.impact .section-header {
  margin-bottom: 5rem;
}
.impact .section-header h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
}
.impact .section-header p {
  color: rgba(255,255,255,0.55);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}
.impact .section-overline { color: var(--gold); }
.impact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
}
.impact-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 28px;
  padding: 3rem 2.2rem 2.5rem;
  text-align: center;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.impact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}
.impact-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(201,168,76,0.2), transparent 50%, rgba(201,168,76,0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.impact-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(201,168,76,0.15);
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(201,168,76,0.03));
  box-shadow: 0 25px 60px rgba(0,0,0,0.4), 0 0 40px rgba(201,168,76,0.06);
}
.impact-card:hover::before { opacity: 1; }
.impact-card:hover::after { opacity: 1; }
.impact-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.8rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(201,168,76,0.2);
  transition: all 0.5s;
}
.impact-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.impact-card:hover .impact-icon {
  transform: scale(1.08);
  border-color: rgba(201,168,76,0.45);
  box-shadow: 0 0 20px rgba(201,168,76,0.15);
}
.impact-card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.impact-card p {
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  line-height: 1.9;
}

/* ─── IMPACT CARD ROTATING BORDER ─── */
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes rotate-border {
  to { --border-angle: 360deg; }
}
.impact-card {
  position: relative;
}
.impact-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--border-angle), transparent 70%, var(--gold) 85%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rotate-border 4s linear infinite;
  opacity: 0;
  transition: opacity 0.5s;
}
.impact-card:hover::before {
  opacity: 1;
}

/* ─── CHILD APPROACH ─── */
.approach {
  background: linear-gradient(170deg, #0a0a12 0%, #12121f 40%, #0d0d18 100%);
  position: relative;
  overflow: hidden;
  padding: 8rem 2rem;
}
.approach::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 15% 20%, rgba(201,168,76,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 600px 500px at 85% 80%, rgba(201,168,76,0.05) 0%, transparent 70%),
    radial-gradient(circle 400px at 50% 50%, rgba(201,168,76,0.02) 0%, transparent 70%);
  pointer-events: none;
}
.approach::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.2), transparent);
}
.approach .section-header h2 { color: #fff; }
.approach .section-header p { color: rgba(255,255,255,0.45); }
.approach .section-overline { color: var(--gold); }
.approach .line { background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.approach-container {
  max-width: 1200px;
  margin: 0 auto;
}
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 5rem;
}
.approach-grid.reverse { direction: ltr; }
.approach-grid.reverse > * { direction: rtl; }
.approach-img-wrap {
  position: relative;
}
.approach-img-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(201,168,76,0.3), transparent 40%, transparent 60%, rgba(201,168,76,0.2));
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s;
}
.approach-img-wrap:hover::before {
  opacity: 1;
}
.approach-img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: 0 25px 70px rgba(0,0,0,0.4), 0 0 40px rgba(201,168,76,0.05);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
}
.approach-img:hover { transform: scale(1.03); }
.approach-text h3 {
  font-family: var(--serif);
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}
.approach-text p {
  color: rgba(255,255,255,0.5);
  font-size: 1.02rem;
  line-height: 2.1;
  margin-bottom: 1rem;
}
.approach-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2rem;
}
.approach-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  transition: all 0.4s;
}
.approach-list li:hover {
  background: rgba(201,168,76,0.06);
  border-color: rgba(201,168,76,0.15);
  transform: translateX(-4px);
}
.approach-list .icon-circle {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all 0.4s;
}
.approach-list li:hover .icon-circle {
  background: linear-gradient(135deg, rgba(201,168,76,0.25), rgba(201,168,76,0.1));
  border-color: rgba(201,168,76,0.35);
}
.approach-list .li-content strong {
  display: block;
  font-size: 1.02rem;
  color: #fff;
  margin-bottom: 0.2rem;
}
.approach-list .li-content span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

/* ─── RESPONSIVE (1024px) ─── */
@media (max-width: 1024px) {
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── RESPONSIVE (768px) ─── */
@media (max-width: 768px) {
  /* Impact - compact cards */
  .impact { padding: 3.5rem 1.2rem; }
  .impact-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; gap: 1.2rem; }
  .impact-card { padding: 1.8rem 1.5rem 1.5rem; border-radius: 18px; }
  .impact-card:hover { transform: none; }
  .impact-icon { width: 60px; height: 60px; margin-bottom: 1.2rem; }
  .impact-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
  .impact-card p { font-size: 0.85rem; line-height: 1.7; }

  /* Approach - lighter */
  .approach { padding: 3.5rem 1.2rem; }
  .approach-grid, .approach-grid.reverse { grid-template-columns: 1fr; gap: 1.5rem; }
  .approach-grid.reverse { direction: rtl; }
  .approach-grid.reverse .approach-img-wrap { order: -1; }
  .approach-img { border-radius: 14px; max-height: 200px; }
  .approach-text h3 { font-size: 1.2rem; }
  .approach-text p { font-size: 0.9rem; line-height: 1.7; }
  .approach-list li { font-size: 0.88rem; }
  .icon-circle { width: 32px; height: 32px; font-size: 0.9rem; }
}
