/* Fetal Echocardiography — shared stylesheet
   Minimal, calm, Apple-style typography with regional-language layering */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Display:wght@300;400;600&family=Inter:wght@300;400;500;600&family=Noto+Sans+Devanagari:wght@300;400;500&family=Noto+Sans+Gurmukhi:wght@300;400;500&display=swap');

:root {
  --ink: #26343f;
  --ink-soft: #5b6b76;
  --bg: #fdfbf9;
  --bg-tint: #f4efe9;
  --accent: #5b7f93;
  --accent-deep: #3f5c6c;
  --blush: #e7c9bd;
  --sage: #c3d3c2;
  --line: #e6e0d8;
  --max: 880px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 300;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 6vw;
  position: sticky;
  top: 0;
  background: rgba(251, 251, 250, 0.88);
  backdrop-filter: blur(10px);
  z-index: 50;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom: 1px solid var(--line); }

.wordmark {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 26px;
  letter-spacing: 0.005em;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-family: 'Noto Serif Display', Georgia, serif;
}
.wordmark img.logo { height: 52px; width: 52px; border-radius: 50%; display: block; }
.wordmark .wordmark-text { display: flex; flex-direction: column; }
.wordmark span {
  display: block;
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  margin-top: 4px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid var(--accent-deep);
}
.btn-primary {
  background: var(--accent-deep);
  color: #fff;
}
.btn-primary:hover { background: var(--ink); border-color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--accent-deep);
}
.btn-ghost:hover { background: var(--bg-tint); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 8vh 6vw 12vh;
  min-height: 78vh;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -6%;
  background-image: url('fetal-swirl.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.4;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0) 88%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0) 88%);
  z-index: -1;
  pointer-events: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
  font-weight: 500;
}
.eyebrow svg { flex-shrink: 0; opacity: 0.8; width: 26px; height: 26px; }

.headline-stack .line {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.9s ease forwards;
}
.headline-stack .en {
  font-family: 'Noto Serif Display', Georgia, serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  animation-delay: 0.05s;
}
.headline-stack .hi {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  color: var(--accent-deep);
  margin-top: 14px;
  animation-delay: 0.35s;
}
.headline-stack .pa {
  font-family: 'Noto Sans Gurmukhi', sans-serif;
  font-weight: 400;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  color: var(--ink-soft);
  margin-top: 8px;
  animation-delay: 0.6s;
}
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.hero-sub {
  margin-top: 34px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 46ch;
  font-weight: 400;
}

.hero-cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-photo {
  aspect-ratio: 0.59;
  border-radius: 28px;
  background: linear-gradient(155deg, #c4d3da, #8fa6b3 60%, #6f8998);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  text-align: center;
  padding: 20px;
  overflow: hidden;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }

.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 auto 6vh;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(6px);} }

/* ---------- Decorative art band ---------- */
.art-band {
  max-width: 1100px;
  margin: 0 auto 8vh;
  padding: 0 6vw;
}
.art-band img {
  width: 100%;
  border-radius: 28px;
  max-height: 420px;
  object-fit: cover;
}
.art-caption {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 14px;
  font-style: italic;
}

/* ---------- Sections ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10vh 6vw;
}
.section-tint { background: var(--bg-tint); }
.section-tint > .section-inner { max-width: var(--max); margin: 0 auto; }

.section h2 {
  font-family: 'Noto Serif Display', Georgia, serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 0 0 22px;
  color: var(--ink);
}

.section p {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 62ch;
}

.reassure {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin: 30px 0;
  font-size: 17px;
  color: var(--ink);
  font-weight: 400;
}

.fact-list {
  list-style: none;
  padding: 0;
  margin: 34px 0;
  display: grid;
  gap: 18px;
}
.fact-list li {
  font-size: 16px;
  color: var(--ink-soft);
  padding-left: 26px;
  position: relative;
}
.fact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.fact-list a { color: var(--accent-deep); text-decoration: underline; }

/* ---------- Video section ---------- */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}
.video-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.video-card video, .video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
  border: 0;
}
.video-label {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

@media (max-width: 760px) {
  .video-grid { grid-template-columns: 1fr; }
}

/* ---------- Nav cards ---------- */
.nav-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 6vh 6vw 12vh;
}
.nav-card {
  display: block;
  padding: 40px 32px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(38,52,63,0.08); }
.nav-card .label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.nav-card .title {
  font-family: 'Noto Serif Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 400;
  margin: 10px 0 0;
  color: var(--ink);
}
.nav-card .arrow { margin-top: 18px; color: var(--accent-deep); font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 8vh 6vw 6vh;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-col { min-width: 220px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin: 0 0 12px; font-weight: 500; }
.footer-col p, .footer-col a { font-size: 14px; color: var(--ink-soft); text-decoration: none; display: block; margin-bottom: 8px; }
.disclaimer {
  max-width: var(--max);
  margin: 6vh auto 0;
  font-size: 12.5px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

/* ---------- About page ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 56px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 8vh 6vw 6vh;
  align-items: start;
}
.about-photo {
  aspect-ratio: 0.59;
  border-radius: 24px;
  background: linear-gradient(155deg, #c4d3da, #8fa6b3 60%, #6f8998);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85); font-size: 13px; text-align: center; padding: 20px;
  overflow: hidden;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.about-name { font-family: 'Noto Serif Display', Georgia, serif; font-weight: 300; font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 8px; }
.about-title { color: var(--accent-deep); font-size: 15px; margin-bottom: 26px; }
.about-bio { color: var(--ink-soft); font-size: 17px; max-width: 60ch; }

.training-list { margin-top: 40px; }
.training-list h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); font-weight: 500; }
.training-list ul { list-style: none; padding: 0; margin-top: 16px; }
.training-list li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.training-list li span.year { color: var(--ink-soft); font-size: 13px; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 8vh 6vw 12vh;
}
.contact-block h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); font-weight: 500; margin-bottom: 10px; }
.contact-block p { color: var(--ink); font-size: 16px; margin: 0 0 20px; }
.contact-block .verify { color: #b5652f; font-size: 12.5px; }

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 6px; }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
}
.form-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 10px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 4vh; }
  .hero-photo { order: -1; max-width: 260px; margin: 0 auto; }
  .nav-cards { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .about-photo { max-width: 240px; }
  .contact-grid { grid-template-columns: 1fr; }
}
