/* Healthy360 — landing page layout.
 *
 * Builds on css/design.css tokens. Sections, hero, services, team, how,
 * faq, CTA band, footer.
 */

/* ── Topbar ───────────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 251, 252, 0.85);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--sage-dark);
  background: var(--sage-tint);
}
.brand-word { font-weight: 600; }
.brand-word.small { font-size: 1.15rem; }
.brand-accent { color: var(--gold); font-weight: 600; }

.topnav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  margin-right: 8px;
}
.topnav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 4px;
}
.topnav a:hover { color: var(--sage-dark); }
.topnav-cta { display: flex; gap: 8px; }

@media (max-width: 780px) {
  .topnav { display: none; }
}

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 80px 0 48px;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -20%, rgba(74,155,142,0.12), transparent 60%),
    radial-gradient(900px 500px at 0% 120%, rgba(201,169,97,0.08), transparent 60%),
    linear-gradient(180deg, var(--paper), #fff 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 36px;
}
@media (max-width: 960px) {
  .hero { padding: 56px 0 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}
.hero-copy h1 { margin-bottom: 20px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 10px;
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.hero-bullets .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
}

.hero-disclaimer { margin-top: 8px; }

/* Hero mock frame */
.hero-frame {
  position: relative;
  padding: 0;
}
.frame-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 30% 30%, rgba(74,155,142,0.18), transparent 60%),
              radial-gradient(circle at 70% 80%, rgba(201,169,97,0.12), transparent 60%);
  filter: blur(30px);
  z-index: 0;
}
.frame-inner {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 18px 22px 22px;
  transform: rotate(-0.8deg);
}
.frame-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.frame-header span:is(.dot-red,.dot-amber,.dot-green) {
  width: 10px; height: 10px; border-radius: 50%;
}
.dot-red    { background: #ef4444; }
.dot-amber  { background: #f59e0b; }
.dot-green  { background: #10b981; }
.frame-title {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.frame-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}
.frame-row:last-of-type { border-bottom: 0; }
.frame-label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.frame-val   { font-family: "Fraunces", serif; font-size: 1.08rem; color: var(--navy); }
.frame-meet {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--r);
  background: var(--sage-tint);
  color: var(--sage-dark);
  font-size: 0.88rem;
  font-weight: 600;
}

/* ── Section base ────────────────────────────────────────────────── */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); }
.section-header { max-width: 720px; margin: 0 0 36px; }
.section-note { margin-top: 14px; color: var(--muted); font-size: 0.9rem; }

/* ── Services ────────────────────────────────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
.service-card {
  position: relative;
  padding: 26px 24px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--border-2);
}
.service-card.featured {
  background: linear-gradient(180deg, #fdf8ea 0%, var(--surface) 55%);
  border-color: rgba(201,169,97,0.5);
}
.service-duration { margin-bottom: 14px; }
.service-card p { color: var(--muted); font-size: 0.92rem; min-height: 3.6em; margin: 6px 0 16px; }
.service-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.service-price .price {
  font-family: "Fraunces", serif;
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--navy);
}
.service-price .price-sub { font-size: 0.82rem; color: var(--muted); }

/* ── Team ────────────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.team-card h3 { margin-top: 14px; }
.team-title { color: var(--sage-dark); font-weight: 600; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.team-bio { color: var(--muted); font-size: 0.92rem; }
.team-specs { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0 18px; }
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--sage-tint);
  color: var(--sage-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.4rem;
  border: 3px solid var(--surface);
  box-shadow: var(--shadow-sm);
}

/* Team placeholder skeletons */
.team-placeholder { min-height: 180px; }
.ph-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #eef1f6 0%, #f7f9fc 50%, #eef1f6 100%);
  background-size: 200% 100%;
  animation: ph-shimmer 1.4s ease-in-out infinite;
  margin-bottom: 10px;
}
.ph-line.ph-line-sm { width: 40%; }
@keyframes ph-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── How it works ────────────────────────────────────────────────── */
.how-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.how-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  position: relative;
}
.how-num {
  font-family: "Fraunces", serif;
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.how-list p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ── FAQ ─────────────────────────────────────────────────────────── */
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  padding: 14px 18px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t), border-color var(--t);
}
.faq details[open] { border-color: var(--sage); box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--sage-dark);
  font-size: 1.3rem;
  transition: transform var(--t);
  margin-left: 12px;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--ink-2); margin: 10px 0 0; }

/* ── Final CTA band ──────────────────────────────────────────────── */
.cta-band {
  margin: 72px 0 0;
  padding: 56px 0;
  color: #fff;
  background:
    radial-gradient(600px 300px at 90% 20%, rgba(201,169,97,0.25), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 100%);
}
.cta-band h2 { color: #fff; margin-bottom: 4px; }
.cta-band p { color: rgba(255,255,255,0.8); margin: 0; }
.cta-inner {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* ── Footer ──────────────────────────────────────────────────────── */
.footer {
  background: #fff;
  padding: 36px 0 42px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-copy { color: var(--muted); font-size: 0.82rem; margin: 6px 0 0; }
.footer-nav { display: flex; gap: 18px; }
.footer-nav a { font-size: 0.9rem; color: var(--ink-2); }
