/**
 * About Page — Livine Holistic Wellness
 * ONLY page-specific overrides. All shared styles come from home.css.
 */

/* ════════════════════════════════════════════════
   HERO — override home.css .hero to use about-hero-bg
   ════════════════════════════════════════════════ */
.hero.about-hero {
  background-image: url('../../images/about-hero-bg.png') !important;
  background-position: center 20% !important;
  /* Keep trust bar visible inside the hero like index.html */
  min-height: 100svh !important;
}

/* Breadcrumb row */
.about-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,0.45);
  margin-bottom: 22px; letter-spacing: 0.04em;
}
.about-breadcrumb a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.about-breadcrumb a:hover { color: var(--brand); }
.about-breadcrumb i { font-size: 9px; }

/* ════════════════════════════════════════════════
   STATS BAR — brand orange strip below hero
   ════════════════════════════════════════════════ */
.about-stats-bar {
  background: var(--brand);
}
.about-stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.asb-item {
  padding: 26px 20px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.25);
}
.asb-item:last-child { border-right: none; }
.asb-num {
  display: block;
  font-family: var(--heading-font);
  font-size: 2rem; font-weight: 700; color: #fff;
  line-height: 1; margin-bottom: 4px;
}
.asb-lbl {
  font-size: 11px; color: rgba(255,255,255,0.82);
  letter-spacing: 0.06em; text-transform: uppercase;
}
@media (max-width: 640px) {
  .about-stats-bar-inner { grid-template-columns: 1fr 1fr; }
  .asb-item { padding: 18px 12px; }
  .asb-item:nth-child(2) { border-right: none; }
  .asb-item:nth-child(3),
  .asb-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.2); }
  .asb-num { font-size: 1.6rem; }
}

/* ════════════════════════════════════════════════
   FOUNDERS SECTION
   Reuses .section-why colours (white bg, split layout)
   but with image-heavy founder cards
   ════════════════════════════════════════════════ */
.section-founders {
  padding: 100px 0;
  background: var(--warm-bg);
}
.founders-stack {
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.founder-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.founder-card:hover { box-shadow: var(--shadow-lg); }
.founder-card.reverse { grid-template-columns: 1fr 360px; }
.founder-card.reverse .fc-img { order: 2; }
.founder-card.reverse .fc-body { order: 1; }

.fc-img {
  position: relative; overflow: hidden;
}
.fc-img img {
  width: 100%; height: 100%; min-height: 480px;
  object-fit: cover; object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}
.founder-card:hover .fc-img img { transform: scale(1.03); }
.fc-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,28,46,0.7) 0%, transparent 45%);
}
.fc-badges {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  display: flex; flex-wrap: wrap; gap: 7px;
}
.fc-badge {
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(8px);
  border-radius: 5px; padding: 5px 11px;
  font-size: 11.5px; font-weight: 700; color: var(--charcoal);
  display: flex; align-items: center; gap: 5px;
}
.fc-badge i { color: var(--brand); }

.fc-body {
  padding: 48px 44px;
  display: flex; flex-direction: column; justify-content: center;
}
.fc-role {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--brand);
  margin-bottom: 8px;
}
.fc-body h3 {
  font-family: var(--heading-font);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  color: var(--charcoal); line-height: 1.2;
  margin-bottom: 16px;
}
.fc-body > p {
  font-size: 15px; color: var(--muted); line-height: 1.85;
  margin-bottom: 24px;
}
.fc-quals {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 9px;
  margin-bottom: 24px;
}
.fc-quals li {
  display: flex; align-items: center; gap: 12px;
  font-size: 13.5px; color: var(--text); line-height: 1.4;
}
.fc-quals li i {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--brand-lt); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand); font-size: 12px;
}
.fc-quote-block {
  border-left: 3px solid var(--brand);
  padding: 12px 0 12px 18px;
  font-family: var(--heading-font);
  font-style: italic; font-size: 0.97rem;
  color: var(--charcoal); line-height: 1.65;
  margin-bottom: 28px;
}
.fc-actions {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.fc-social-btn {
  width: 40px; height: 40px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 14px;
  text-decoration: none; transition: all 0.22s;
}
.fc-social-btn:hover { border-color: var(--brand); color: var(--brand); }

@media (max-width: 1024px) {
  .founder-card,
  .founder-card.reverse { grid-template-columns: 300px 1fr; }
  .fc-body { padding: 36px 32px; }
}
@media (max-width: 860px) {
  .founder-card,
  .founder-card.reverse {
    grid-template-columns: 1fr;
    max-width: 560px; margin: 0 auto;
  }
  .founder-card.reverse .fc-img { order: unset; }
  .founder-card.reverse .fc-body { order: unset; }
  .fc-img img { min-height: 300px; }
}
@media (max-width: 560px) {
  .fc-body { padding: 28px 22px; }
}

/* ════════════════════════════════════════════════
   TIMELINE
   ════════════════════════════════════════════════ */
.section-timeline {
  padding: 100px 0;
  background: var(--white);
}
.timeline-track {
  position: relative;
  max-width: 860px; margin: 0 auto;
}
.timeline-track::before {
  content: '';
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand), rgba(211,138,80,0.1));
  transform: translateX(-50%);
}
.tl-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: flex-start;
  margin-bottom: 44px;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-dot-col {
  display: flex; justify-content: center; align-items: flex-start;
  padding-top: 4px;
}
.tl-dot {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px rgba(211,138,80,0.15), 0 4px 16px rgba(211,138,80,0.35);
  z-index: 1; position: relative;
}
.tl-dot span {
  font-family: var(--heading-font);
  font-size: 10.5px; font-weight: 700; color: #fff;
  text-align: center; line-height: 1.2;
}
.tl-card {
  background: var(--warm-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.tl-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.tl-item.tl-left .tl-content { grid-column: 1; padding-right: 24px; }
.tl-item.tl-left .tl-dot-col { grid-column: 2; }
.tl-item.tl-left .tl-empty  { grid-column: 3; }
.tl-item.tl-right .tl-empty   { grid-column: 1; }
.tl-item.tl-right .tl-dot-col { grid-column: 2; }
.tl-item.tl-right .tl-content { grid-column: 3; padding-left: 24px; }

.tl-year {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--brand); margin-bottom: 5px;
}
.tl-card h4 {
  font-size: 1rem; color: var(--charcoal);
  margin-bottom: 7px; font-family: var(--body-font); font-weight: 700;
}
.tl-card p {
  font-size: 13.5px; color: var(--muted); line-height: 1.7; margin: 0;
}

@media (max-width: 760px) {
  .timeline-track::before { left: 24px; transform: none; }
  .tl-item,
  .tl-item.tl-left,
  .tl-item.tl-right { grid-template-columns: 60px 1fr; grid-template-rows: auto; }
  .tl-item.tl-left .tl-dot-col,
  .tl-item.tl-right .tl-dot-col { grid-column: 1; grid-row: 1; }
  .tl-item.tl-left .tl-content,
  .tl-item.tl-right .tl-content { grid-column: 2; grid-row: 1; padding-left: 12px; padding-right: 0; }
  .tl-item.tl-left .tl-empty,
  .tl-item.tl-right .tl-empty { display: none; }
}
@media (max-width: 480px) {
  .section-timeline { padding: 64px 0; }
  .section-founders { padding: 64px 0; }
}

/* ════════════════════════════════════════════════
   CERTIFICATIONS — reuse cond-card style from home.css
   Just override background-specific things
   ════════════════════════════════════════════════ */
.section-certs {
  padding: 100px 0;
  background: var(--warm-bg);
}
.certs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}
.cert-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s;
  position: relative; overflow: hidden;
}
.cert-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.cert-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.cert-card:hover::after { transform: scaleX(1); }
.cert-img-wrap {
  width: 88px; height: 88px; margin: 0 auto 20px;
  border-radius: 12px; overflow: hidden;
  border: 1.5px solid var(--border); background: var(--warm-bg);
}
.cert-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.cert-card h3 {
  font-size: 0.97rem; color: var(--charcoal);
  margin-bottom: 8px; line-height: 1.35;
}
.cert-card p { font-size: 13px; color: var(--muted); line-height: 1.65; margin: 0; }

@media (max-width: 860px) { .certs-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px)  { .certs-row { grid-template-columns: 1fr; }
  .section-certs { padding: 64px 0; } }

/* ════════════════════════════════════════════════
   TEAM — reuse prog-card style
   ════════════════════════════════════════════════ */
.section-team {
  padding: 100px 0;
  background: var(--white);
}
.team-grid-about {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card-about {
  border-radius: var(--radius); overflow: hidden;
  position: relative; aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
}
.team-card-about img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.team-card-about:hover img { transform: scale(1.06); }
.team-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,28,46,0.88) 0%, rgba(15,28,46,0.1) 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
}
.tc-count {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--brand); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 3px;
  margin-bottom: 8px; width: fit-content;
}
.team-card-overlay h3 {
  font-family: var(--heading-font); font-size: 1.1rem;
  color: #fff; margin-bottom: 4px;
}
.team-card-overlay p { font-size: 12.5px; color: rgba(255,255,255,0.65); margin: 0; }

@media (max-width: 760px)  { .team-grid-about { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 480px)  { .section-team { padding: 64px 0; } }

/* ======================================================================
   About Page (Content-Only) Layout
   Matches index.html typography and spacing patterns
   ====================================================================== */
.about-main {
  background: var(--white);
}

.about-subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 120;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 28, 46, 0.10);
}
.about-subnav .container {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.about-subnav .container::-webkit-scrollbar { display: none; }
.about-subnav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 28, 46, 0.10);
  background: #fff;
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.about-subnav-link i { color: var(--brand); }
.about-subnav-link:hover {
  transform: translateY(-1px);
  border-color: rgba(211, 138, 80, 0.28);
  box-shadow: 0 10px 24px rgba(15, 28, 46, 0.08);
}

.about-block {
  padding: 96px 0;
}
.about-block--warm {
  background:
    radial-gradient(900px 300px at 20% 0%, rgba(26,127,108,0.08), transparent 60%),
    var(--warm-bg);
}
.about-block--white {
  background: var(--white);
}

.about-card {
  margin-top: 38px;
  background: #fff;
  border: 1px solid rgba(15, 28, 46, 0.10);
  border-radius: 18px;
  box-shadow: 0 10px 34px rgba(15, 28, 46, 0.08);
  overflow: hidden;
}

.about-card-head {
  padding: 26px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: linear-gradient(135deg, rgba(26, 127, 108, 0.10), rgba(255, 255, 255, 0.96));
}

.about-avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--brand-lt);
  color: var(--brand);
  border: 1px solid rgba(26, 127, 108, 0.22);
  flex-shrink: 0;
}
.about-avatar i {
  font-size: 18px;
}
.about-avatar--alt {
  background: rgba(244, 162, 97, 0.16);
  color: var(--brand);
  border-color: rgba(244, 162, 97, 0.35);
}

.about-head-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.about-name {
  font-family: var(--heading-font);
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  line-height: 1.2;
  color: var(--charcoal);
}
.about-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.about-meta i {
  color: var(--brand);
  margin-right: 6px;
}
.about-meta-sep {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.16);
  display: inline-block;
}

.about-card-body {
  padding: 30px 28px 34px;
}
.about-card-body p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.95;
  margin-bottom: 14px;
}
.about-card-body .prob-list {
  margin: 6px 0 18px;
}
.about-card-body .prob-list li {
  font-size: 14.5px;
  line-height: 1.7;
}
@media (min-width: 920px) {
  .about-card-body .prob-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 22px;
    align-items: start;
  }
}

.about-quote {
  margin-top: 18px;
  border-left: 3px solid var(--brand);
  padding: 12px 0 12px 16px;
  font-family: var(--heading-font);
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.7;
  background: rgba(255, 255, 255, 0.65);
}

.about-more {
  margin-top: 12px;
  border: 1px solid rgba(15, 28, 46, 0.10);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(15, 28, 46, 0.06);
  overflow: hidden;
}
.about-more > summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  color: var(--charcoal);
  background: linear-gradient(
    135deg,
    rgba(26, 127, 108, 0.08),
    rgba(255, 255, 255, 0.96)
  );
}
.about-more > summary::-webkit-details-marker { display: none; }
.about-more > summary i {
  color: var(--brand);
  transition: transform 0.2s ease;
}
.about-more[open] > summary i { transform: rotate(180deg); }
.about-more > *:not(summary) { padding: 14px 16px 16px; }
.about-more .about-quote { background: rgba(255, 255, 255, 0.9); }

.about-more--story > summary {
  font-family: var(--body-font);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-story {
  margin-top: 38px;
  background: #fff;
  border: 1px solid rgba(15, 28, 46, 0.10);
  border-radius: 18px;
  padding: 36px 34px;
  box-shadow: 0 10px 34px rgba(15, 28, 46, 0.08);
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.about-story p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 14px;
}
.about-subtitle {
  margin-top: 22px;
  margin-bottom: 10px;
  font-family: var(--heading-font);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  color: var(--charcoal);
  line-height: 1.25;
}
.about-story .prob-list {
  margin: 6px 0 18px;
}

@media (max-width: 1024px) {
  .about-card-head {
    padding: 22px 22px;
  }
  .about-card-body {
    padding: 26px 22px 30px;
  }
  .about-story {
    padding: 30px 26px;
  }
}

@media (max-width: 576px) {
  .about-block {
    padding: 72px 0;
  }
  .about-avatar {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }
  .about-story {
    padding: 26px 20px;
  }
  .about-card-head {
    padding: 20px 18px;
  }
  .about-card-body {
    padding: 22px 18px 26px;
  }
  .about-more > summary { padding: 12px 14px; font-size: 13.5px; }
  .about-more > *:not(summary) { padding: 12px 14px 14px; }
}
