/* ===================================================================
   STYLES-TEAM.CSS — New sections for Google compliance upgrade
   =================================================================== */

/* ── Section shared ── */
.section-head { max-width: var(--container); margin: 0 auto 3rem; text-align: center; }
.section-lead { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.75; max-width: 680px; margin: 0.8rem auto 0; }

/* ── How It Works ── */
.how-it-works { background: var(--cream-deep); padding: 5rem 1.6rem; }
.how-steps { max-width: var(--container); margin: 0 auto 2.5rem; display: flex; align-items: flex-start; flex-wrap: wrap; justify-content: center; gap: 0; }
.how-step { flex: 1 1 160px; max-width: 200px; text-align: center; padding: 1.5rem 1rem; }
.how-num { font-size: 0.72rem; font-weight: 700; color: var(--coral); letter-spacing: 0.1em; margin-bottom: 0.4rem; }
.how-icon { font-size: 2rem; margin-bottom: 0.65rem; }
.how-step h3 { font-size: 0.92rem; font-weight: 700; color: var(--teal-deep); margin-bottom: 0.4rem; }
.how-step p { font-size: 0.83rem; color: var(--ink-soft); line-height: 1.6; }
.how-arrow { flex: 0 0 auto; align-self: center; font-size: 1.4rem; color: var(--teal); opacity: 0.35; padding: 0 0.2rem; margin-top: -2rem; }
.how-cta { text-align: center; margin-top: 1rem; }

/* ── Preview CTA ── */
.preview-cta { text-align: center; margin-top: 2.5rem; }

/* ── AI Section ── */
.ai-section { padding: 5rem 1.6rem; background: var(--teal-deep); }
.ai-section .section-head { text-align: center; }
.ai-section .eyebrow { color: var(--coral); }
.ai-section h2 { color: var(--cream); }
.ai-section .section-lead { color: rgba(250,246,237,0.8); }
.ai-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.5rem; }
.ai-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 2rem 1.6rem; transition: background 0.2s; }
.ai-card:hover { background: rgba(255,255,255,0.13); }
.ai-card-icon { font-size: 2rem; margin-bottom: 1rem; }
.ai-card h3 { color: var(--cream); font-size: 1rem; font-weight: 700; margin-bottom: 0.6rem; }
.ai-card p { color: rgba(250,246,237,0.75); font-size: 0.88rem; line-height: 1.65; }

/* ── Team Section ── */
.team-section { padding: 5rem 1.6rem; background: #ffffff; }
.team-grid { max-width: var(--container); margin: 0 auto 3rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 2rem; }
.team-card { background: var(--cream); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(11,107,99,0.08); transition: transform 0.2s, box-shadow 0.2s; }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px -10px rgba(11,107,99,0.2); }
.team-photo-wrap { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.team-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-linkedin { position: absolute; bottom: 10px; right: 10px; width: 32px; height: 32px; background: #0077b5; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; transition: background 0.2s, transform 0.2s; box-shadow: 0 2px 8px rgba(0,0,0,0.25); }
.team-linkedin:hover { background: #005885; transform: scale(1.1); }
.team-linkedin svg { width: 18px; height: 18px; }
.team-linkedin--ext { background: var(--teal); }
.team-linkedin--ext:hover { background: var(--teal-deep); }
.team-info { padding: 1.2rem 1.4rem 1.4rem; }
.team-name { font-size: 1.05rem; font-weight: 700; color: var(--teal-deep); margin-bottom: 0.2rem; }
.team-role { font-size: 0.78rem; font-weight: 700; color: var(--coral); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.65rem; }
.team-bio { font-size: 0.87rem; color: var(--ink-soft); line-height: 1.65; }

/* ── Advisor ── */
.advisor-section { max-width: var(--container); margin: 0 auto; }
.advisor-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1rem; padding-top: 1.5rem; border-top: 1px solid rgba(11,107,99,0.1); }
.advisor-card { display: flex; gap: 0; align-items: stretch; background: var(--cream); border-radius: var(--radius); border: 1px solid rgba(11,107,99,0.08); overflow: hidden; max-width: 520px; }
.advisor-card .team-photo-wrap { width: 160px; flex-shrink: 0; aspect-ratio: auto; }
.advisor-card .team-info { padding: 1.4rem 1.6rem; display: flex; flex-direction: column; justify-content: center; }

/* ── Medical Disclaimer ── */
.disclaimer-section { background: #fff8f0; border-top: 3px solid var(--coral); padding: 1.6rem 1.6rem; }
.disclaimer-inner { max-width: var(--container); margin: 0 auto; display: flex; gap: 1rem; align-items: flex-start; }
.disclaimer-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 0.1rem; }
.disclaimer-text { font-size: 0.87rem; color: var(--ink-soft); line-height: 1.7; }
.disclaimer-text strong { color: var(--ink); }

/* ── Contact details ── */
.contact-details { margin-top: 1rem; font-size: 0.95rem; color: var(--ink-soft); }
.contact-details a { color: var(--teal); text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }
.contact-details p { margin: 0.3rem 0; }

/* ── Footer extras ── */
.footer-location { font-size: 0.82rem; color: #4A5A57 !important; margin-top: 0.4rem; }
.footer-location a { color: var(--teal) !important; text-decoration: none; }
.footer-location a:hover { text-decoration: underline; }

/* ── Hero sub ── */
.hero-sub { font-size: 1.05rem; color: var(--ink-soft); max-width: 560px; margin: 1rem 0 1.8rem; line-height: 1.75; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Badge live ── */
.badge-live { background: var(--coral); color: #fff; border-radius: 20px; padding: 0.2rem 0.7rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; }

/* ── RTL ── */
html[dir="rtl"] .how-arrow { transform: scaleX(-1); }
html[dir="rtl"] .team-linkedin { right: auto; left: 10px; }
html[dir="rtl"] .advisor-card .team-info { padding: 1.4rem 1.6rem; }
html[dir="rtl"] .disclaimer-inner { flex-direction: row-reverse; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .how-arrow { display: none; }
  .how-step { min-width: 130px; }
  .ai-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .advisor-card { flex-direction: column; max-width: 280px; }
  .advisor-card .team-photo-wrap { width: 100%; aspect-ratio: 1/1; }
  .advisor-card .team-info { padding: 1rem 1.2rem 1.2rem; }
}
@media (max-width: 480px) {
  .ai-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
}
