/* =====================================================================
   MISTCULTURE DESIGN SYSTEM — 4. CONTACT & ABOUT PAGE STYLES
   Location: assets/css/contact.css
   ===================================================================== */

/* 1. CONTACT CARDS GRID & MAP CONTAINER */
.th-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 24px; }
.th-contact-card {
  background: #ffffff; border: 1px solid var(--mc-line); border-radius: 18px; padding: 22px; display: flex; gap: 16px; align-items: flex-start;
  text-decoration: none; color: inherit; box-shadow: 0 2px 8px rgba(6,78,59,.04); transition: all 0.25s ease;
}
.th-contact-card:hover { transform: translateY(-3px); border-color: var(--mc-leaf); box-shadow: 0 12px 24px -6px rgba(6,78,59,.12); }
.th-contact-icon { width: 44px; height: 44px; border-radius: 12px; background: #EFF6FF; border: 1px solid #BFDBFE; display: flex; align-items: center; justify-content: center; color: var(--mc-leaf); flex-shrink: 0; }
.th-contact-text h3 { font-size: 16px !important; color: var(--mc-ink) !important; margin: 0 0 4px 0 !important; }
.th-contact-text p { font-size: 13.5px; color: var(--mc-text-soft); line-height: 1.5; margin: 0; }
.th-contact-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.th-contact-tag { font-size: 11px; font-weight: 650; color: var(--mc-ink); background: #EFF6FF; border: 1px solid #BFDBFE; padding: 3px 8px; border-radius: 6px; }

.th-map { width: 100%; height: 340px; border-radius: 20px; overflow: hidden; border: 1px solid var(--mc-line); box-shadow: 0 4px 14px rgba(6,78,59,.06); margin-bottom: 24px; }
.th-map iframe { width: 100%; height: 100%; border: 0; }

/* 2. FORM SHELL CONTAINER & INPUTS */
.th-form-card { background: #ffffff; border: 1px solid var(--mc-line); border-radius: 20px; padding: 28px; box-shadow: 0 4px 18px rgba(6,78,59,.05); }

/* 3. CONTACT PAGE 40:60 SPLIT LAYOUT */
.mc-contact-split {
  display: grid;
  grid-template-columns: 40fr 60fr;
  gap: 28px;
  align-items: start;
}

.mc-contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mc-contact-details .th-contact-card {
  margin-bottom: 0;
}

.mc-contact-social {
  background: #ffffff;
  border: 1px solid var(--mc-line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(6,78,59,.04);
}

.mc-contact-social h3 {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--mc-ink) !important;
  margin: 0 0 14px !important;
}

.mc-contact-social-links {
  display: flex;
  gap: 12px;
}

.mc-contact-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: var(--mc-leaf);
  text-decoration: none;
  transition: all 0.2s ease;
}

.mc-contact-social-links a:hover {
  background: var(--mc-leaf);
  color: #ffffff;
  border-color: var(--mc-leaf);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(22,163,74,.25);
}

/* 3. ABOUT PAGE EXTENSIONS (Founder Split, Reliability Chart & Timeline) */
.th-viz-author { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--mc-line); }
.th-viz-author img { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--mc-leaf); object-fit: cover; }
.th-viz-author strong { display: block; font-size: 13px; color: var(--mc-ink); }
.th-viz-author span { font-size: 11px; color: var(--mc-text-soft); }

.th-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 36px; align-items: center; }
.th-split-media img { width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--mc-line); box-shadow: 0 12px 28px -6px rgba(6,78,59,.12); object-fit: cover; }
.th-split-copy h3 { font-size: 26px !important; color: var(--mc-ink) !important; margin-bottom: 12px !important; }
.th-split-copy p { font-size: 15px; color: var(--mc-text-soft); line-height: 1.65; margin-bottom: 20px; }

.th-info { background: #ffffff; border: 1px solid var(--mc-line); border-radius: 16px; padding: 20px; box-shadow: 0 2px 8px rgba(6,78,59,.04); }
.th-info-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--mc-ink); margin-bottom: 14px; }
.th-bar-row { margin-bottom: 12px; }
.th-bar-row:last-child { margin-bottom: 0; }
.th-bar-label { font-size: 12px; font-weight: 600; color: var(--mc-text); display: inline-block; margin-bottom: 4px; }
.th-bar-pct { font-size: 12px; font-weight: 700; color: var(--mc-ink); float: right; }
.th-bar-track { height: 8px; background: #E2E8F0; border-radius: 999px; overflow: hidden; display: block; clear: both; }

.th-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.th-stat-card { background: #ffffff; border: 1px solid var(--mc-line); border-radius: 16px; padding: 20px 16px; text-align: center; box-shadow: 0 2px 8px rgba(6,78,59,.04); transition: transform 0.2s ease, border-color 0.2s ease; }
.th-stat-card:hover { transform: translateY(-3px); border-color: var(--mc-leaf); }
.th-stat-val { font-family: var(--mc-font-heading); font-size: 28px; font-weight: 700; color: var(--mc-leaf); line-height: 1; }
.th-stat-lbl { font-size: 12px; font-weight: 600; color: var(--mc-text-soft); margin-top: 6px; }

.th-full-img { width: 100%; max-height: 380px; object-fit: cover; border-radius: 20px; border: 1px solid var(--mc-line); box-shadow: 0 8px 24px rgba(6,78,59,.08); }

.th-timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.th-time-node { background: #ffffff; border: 1px solid var(--mc-line); border-radius: 16px; padding: 20px; box-shadow: 0 2px 8px rgba(6,78,59,.04); }
.th-time-icon { width: 38px; height: 38px; border-radius: 10px; background: #EFF6FF; border: 1px solid #BFDBFE; display: flex; align-items: center; justify-content: center; color: var(--mc-leaf); margin-bottom: 12px; }
.th-time-node h3 { font-size: 16px !important; color: var(--mc-ink) !important; margin-bottom: 6px !important; }
.th-time-node p { font-size: 13px; color: var(--mc-text-soft); line-height: 1.5; margin: 0; }

.th-team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.th-team-card { background: #ffffff; border: 1px solid var(--mc-line); border-radius: 18px; padding: 22px; text-decoration: none; color: inherit; box-shadow: 0 2px 8px rgba(6,78,59,.04); transition: all 0.25s ease; display: flex; flex-direction: column; }
.th-team-card:hover { transform: translateY(-4px); border-color: var(--mc-leaf); box-shadow: 0 12px 24px -6px rgba(6,78,59,.12); }
.th-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid #BFDBFE; margin-bottom: 14px; }
.th-team-card h3 { font-size: 17px !important; color: var(--mc-ink) !important; margin: 0 0 4px 0 !important; }
.th-team-role { font-size: 12px; font-weight: 700; color: var(--mc-leaf); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; display: block; }
.th-team-bio { font-size: 13px; color: var(--mc-text-soft); line-height: 1.5; margin: 0; }

.th-testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.th-testi-card { background: #ffffff; border: 1px solid var(--mc-line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 2px 8px rgba(6,78,59,.04); }
.th-testi-card p { font-size: 13.5px; color: var(--mc-text); line-height: 1.6; font-style: italic; margin: 0 0 16px 0; }
.th-testi-author { display: flex; align-items: center; gap: 12px; border-top: 1px dashed var(--mc-line); padding-top: 12px; }
.th-testi-author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid var(--mc-line); }
.th-testi-author strong { font-size: 13px; color: var(--mc-ink); font-style: normal; }

@media (max-width: 960px) { .th-split { grid-template-columns: 1fr; gap: 24px; } .mc-contact-split { grid-template-columns: 1fr !important; } }
@media (max-width: 640px) { .th-form-card { padding: 18px; } .th-contact-card { flex-direction: column; } .mc-contact-social-links { flex-wrap: wrap; } }