/* =============================================
   REWIRE WELLNESS — About Page Styles v2.0
   ============================================= */

/* ==================
   About Coaching — Split Layout
   ================== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: center;
}

.about-intro__content h2 { margin-bottom: var(--sp-2); }
.about-intro__content p {
  color: var(--clr-text-light); line-height: var(--lh-relaxed); margin-bottom: var(--sp-2);
  text-align: justify;
}

.about-intro__highlights {
  margin-top: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2);
}

.about-intro__highlight {
  display: flex; align-items: flex-start; gap: 14px;
  padding: var(--sp-2) var(--sp-3);
  background: var(--bg-card-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  transition: all var(--t-base) var(--ease-out);
}
.about-intro__highlight:hover {
  border-color: transparent; box-shadow: var(--shadow-md); transform: translateX(4px);
}

.about-intro__highlight-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--clr-teal-light), var(--clr-accent-light));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.about-intro__highlight-icon svg { width: 22px; height: 22px; color: var(--clr-teal); }

.about-intro__highlight h4 { font-size: var(--fs-body-sm); margin-bottom: 4px; font-family: var(--font-heading); font-weight: var(--fw-semibold); color: var(--clr-navy); }
.about-intro__highlight p { font-size: var(--fs-body-sm); margin-bottom: 0; }

.about-intro__image {
  display: flex; justify-content: center; align-items: center;
}
.about-intro__image img {
  max-width: 480px; width: 100%;
  border-radius: var(--radius-2xl); box-shadow: var(--shadow-xl);
}

/* ==================
   Vision & Mission — Premium Cards
   ================== */
.vm-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4);
}

.vm-card {
  background: var(--bg-card-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  position: relative; overflow: hidden;
  transition: all var(--t-base) var(--ease-out);
}
.vm-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.vm-card--vision::before { background: linear-gradient(90deg, var(--clr-teal), var(--clr-accent)); }
.vm-card--mission::before { background: linear-gradient(90deg, var(--clr-navy), var(--clr-teal)); }
.vm-card:hover { border-color: transparent; box-shadow: var(--shadow-card-hover); transform: translateY(-6px); }

.vm-card__icon {
  width: 64px; height: 64px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center; margin-bottom: var(--sp-3);
}
.vm-card--vision .vm-card__icon { background: linear-gradient(135deg, var(--clr-teal-light), var(--clr-accent-light)); }
.vm-card--mission .vm-card__icon { background: linear-gradient(135deg, rgba(21, 44, 74,0.08), rgba(21, 44, 74,0.03)); }
.vm-card__icon svg { width: 32px; height: 32px; }
.vm-card--vision .vm-card__icon svg { color: var(--clr-teal); }
.vm-card--mission .vm-card__icon svg { color: var(--clr-navy); }

.vm-card h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.vm-card p { color: var(--clr-text-light); line-height: var(--lh-relaxed); }

/* ==================
   Core Values
   ================== */
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3);
}

.value-card {
  background: var(--bg-card-white); border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl); padding: var(--sp-4); text-align: center;
  transition: all var(--t-base) var(--ease-out);
  position: relative; overflow: hidden;
}
.value-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--clr-teal), var(--clr-accent));
  opacity: 0; transition: opacity var(--t-base);
}
.value-card:hover { border-color: transparent; box-shadow: var(--shadow-card-hover); transform: translateY(-6px); }
.value-card:hover::before { opacity: 1; }

.value-card__icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-teal-light), var(--clr-accent-light));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-2);
}
.value-card__icon svg { width: 28px; height: 28px; color: var(--clr-teal); }
.value-card h4 { font-size: var(--fs-h5); margin-bottom: 8px; font-family: var(--font-heading); font-weight: var(--fw-semibold); color: var(--clr-navy); }
.value-card p { font-size: var(--fs-body-sm); color: var(--clr-text-light); line-height: var(--lh-normal); }

/* ==================
   Coaching Process Timeline
   ================== */
.timeline { position: relative; max-width: 680px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 27px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--clr-teal), var(--clr-accent), transparent);
}

.timeline__item {
  display: flex; gap: var(--sp-3); position: relative; padding-bottom: var(--sp-5);
}
.timeline__item:last-child { padding-bottom: 0; }

.timeline__dot {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg-card-white); border: 2px solid var(--clr-border);
  display: flex; align-items: center; justify-content: center; z-index: 1;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-base) var(--ease-out);
}
.timeline__item:hover .timeline__dot {
  border-color: var(--clr-teal); box-shadow: var(--shadow-glow-teal);
}

.timeline__dot::after {
  content: ''; width: 12px; height: 12px; border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-teal), var(--clr-accent));
}

.timeline__content { padding-top: var(--sp-1); }
.timeline__step-label {
  font-size: var(--fs-caption); font-weight: var(--fw-semibold);
  color: var(--clr-teal); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px;
}
.timeline__title { font-family: var(--font-heading); font-size: var(--fs-h5); font-weight: var(--fw-semibold); color: var(--clr-navy); margin-bottom: 6px; }
.timeline__text { font-size: var(--fs-body-sm); color: var(--clr-text-light); line-height: var(--lh-normal); }

/* ==================
   Expert Profile — Split
   ================== */
.expert-section {
  display: grid; grid-template-columns: 380px 1fr; gap: var(--sp-10); align-items: start;
}

.expert__image-wrapper { position: relative; }
.expert__image {
  width: 100%; border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-xl);
}
.expert__image img { width: 100%; height: auto; display: block; }

.expert__image-wrapper::after {
  content: ''; position: absolute; bottom: -16px; right: -16px;
  width: 120px; height: 120px; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--clr-teal), var(--clr-accent));
  z-index: -1; opacity: 0.2;
}

.expert__content h2 { font-size: var(--fs-h2); margin-bottom: 4px; }

.expert__title {
  font-size: var(--fs-body-lg); color: var(--clr-teal);
  font-weight: var(--fw-medium); margin-bottom: var(--sp-3);
}

.expert__bio {
  color: var(--clr-text-light); line-height: var(--lh-relaxed); margin-bottom: var(--sp-3);
  text-align: justify;
}

.expert__details {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-2); margin-bottom: var(--sp-4);
}
.expert__detail {
  display: flex; align-items: flex-start; gap: 10px;
  padding: var(--sp-2); background: var(--bg-card-white); border: 1px solid var(--clr-border);
  border-radius: var(--radius-md); transition: all var(--t-base) var(--ease-out);
}
.expert__detail:hover { border-color: transparent; box-shadow: var(--shadow-sm); }
.expert__detail svg { width: 20px; height: 20px; color: var(--clr-teal); flex-shrink: 0; margin-top: 2px; }
.expert__detail-label { font-size: var(--fs-caption); color: var(--clr-text-light); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.expert__detail-value { font-size: var(--fs-body-sm); font-weight: var(--fw-medium); color: var(--clr-text); }

.expert__social { display: flex; gap: var(--sp-1); margin-bottom: var(--sp-4); }
.expert__social-link {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  border: 1px solid var(--clr-border); display: flex; align-items: center; justify-content: center;
  color: var(--clr-text-light); transition: all var(--t-base) var(--ease-out);
}
.expert__social-link:hover { background: var(--clr-teal); border-color: var(--clr-teal); color: var(--clr-white); }
.expert__social-link svg { width: 20px; height: 20px; }

/* ==================
   Certifications
   ================== */
.certs-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sp-4);
}
.cert-card {
  background: var(--bg-card-white); border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl); padding: var(--sp-3); text-align: center;
  transition: all var(--t-base) var(--ease-out); display: flex; flex-direction: column;
}
.cert-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.cert-card__image {
  width: 100%; height: 200px; border-radius: var(--radius-md);
  margin-bottom: var(--sp-3); overflow: hidden; background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.cert-card__image img { width: 100%; height: 100%; object-fit: contain; }
.cert-card h4 { font-size: var(--fs-body-sm); font-weight: var(--fw-semibold); margin-bottom: 4px; font-family: var(--font-heading); color: var(--clr-navy); }
.cert-card p { font-size: var(--fs-caption); color: var(--clr-text-light); }

/* Image Modal */
.cert-modal {
  display: none; position: fixed; z-index: 9999;
  left: 0; top: 0; width: 100%; height: 100%;
  background-color: rgba(10, 22, 38, 0.9);
  align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.cert-modal-content {
  max-width: 90%; max-height: 90%;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  object-fit: contain;
}
.cert-modal-close {
  position: absolute; top: 24px; right: 40px;
  color: #fff; font-size: 40px; font-weight: 300; cursor: pointer;
  line-height: 1;
}

/* ==================
   Responsive
   ================== */
@media (max-width: 1024px) {
  .about-intro { grid-template-columns: 1fr; gap: var(--sp-5); }
  .about-intro__image { order: -1; }
  .expert-section { grid-template-columns: 1fr; gap: var(--sp-5); }
  .expert__image-wrapper { max-width: 380px; margin: 0 auto; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .vm-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .expert__details { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
}
