/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-900: #0d2d4e;
  --blue-800: #1a4a73;
  --blue-700: #1e5c8c;
  --blue-500: #2c7eb8;
  --blue-200: #bfdbf7;
  --blue-100: #deeeff;
  --blue-50:  #f0f7ff;
  --teal-500: #0e8c7a;
  --teal-100: #d1f0eb;
  --white:    #ffffff;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;
  --gold-500: #b8860b;
  --gold-100: #fef9e7;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 1140px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 600; }

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-500);
  margin-bottom: 0.5rem;
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--white);
  color: var(--blue-800);
  border-color: var(--white);
}
.btn-primary:hover { background: var(--blue-50); border-color: var(--blue-50); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--blue-700);
  border-color: var(--blue-700);
}
.btn-outline:hover { background: var(--blue-50); }

/* ===== HERO ===== */
#hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 55%, var(--blue-500) 100%);
  color: var(--white);
  padding: 7rem 0 6rem;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='white' fill-opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255,255,255,0.25);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--blue-100);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255,255,255,0.82);
  font-weight: 400;
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero two-column layout (text + portrait) */
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-photo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  border: 4px solid rgba(255,255,255,0.22);
  box-shadow: var(--shadow-lg);
  background: rgba(255,255,255,0.06);
}

/* Soft glow ring behind the portrait */
.hero-photo-ring {
  position: absolute;
  z-index: 0;
  width: 112%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.04) 45%, transparent 70%);
  pointer-events: none;
}

.hero-decoration {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
}
.hero-decoration::before {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
}
.hero-decoration::after {
  content: '';
  position: absolute;
  inset: 80px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.04);
}

/* ===== ABOUT ===== */
#about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p + p { margin-top: 1.25rem; }
.about-text p { color: var(--gray-700); font-size: 1.05rem; line-height: 1.75; }

.about-card {
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.about-stat {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  border-bottom: 1px solid var(--blue-200);
}
.about-stat:last-child { border-bottom: none; }

.about-stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--blue-800);
  line-height: 1;
}
.about-stat-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

/* ===== CLINICAL FOCUS ===== */
#focus { background: var(--gray-50); }

.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.focus-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.focus-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
  transform: translateY(-2px);
}

.focus-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--blue-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-700);
}

.focus-icon svg { width: 26px; height: 26px; }

.focus-card h3 {
  color: var(--blue-900);
  margin-bottom: 0.35rem;
}

.focus-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== CREDENTIALS ===== */
#credentials { background: var(--white); }

.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.cred-group h3 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-500);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cred-list { list-style: none; }
.cred-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.cred-list li:last-child { border-bottom: none; }

.cred-label {
  font-size: 0.78rem;
  color: var(--gray-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cred-value {
  font-size: 0.98rem;
  color: var(--gray-900);
  font-weight: 500;
}

/* ===== RECOGNITION ===== */
#recognition { background: linear-gradient(160deg, var(--blue-900) 0%, var(--blue-800) 100%); color: var(--white); }

#recognition h2 { color: var(--white); }
#recognition .section-label { color: var(--blue-200); }
#recognition .section-intro { color: rgba(255,255,255,0.75); margin-top: 0.5rem; font-size: 1rem; }

.awards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  justify-content: center;
}

.award-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  text-align: center;
  min-width: 160px;
  backdrop-filter: blur(4px);
  transition: background 0.2s, transform 0.2s;
}

.award-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-3px); }

.award-star {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.award-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-100);
  line-height: 1.4;
}

.award-year {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-top: 0.25rem;
}

/* ===== OTHER CONDITIONS ===== */
#conditions { background: var(--gray-50); }

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.condition-pill {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  color: var(--gray-700);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.condition-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
  flex-shrink: 0;
}

/* ===== PUBLICATIONS ===== */
#publications { background: var(--white); }

.pub-intro {
  color: var(--gray-700);
  margin-top: 0.75rem;
  max-width: 680px;
  font-size: 1rem;
}

.pub-list {
  list-style: none;
  margin-top: 2rem;
  counter-reset: pub-counter;
}

.pub-list li {
  counter-increment: pub-counter;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.pub-list li:last-child { border-bottom: none; }

.pub-list li::before {
  content: counter(pub-counter);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-500);
  background: var(--blue-50);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.pub-authors { font-size: 0.9rem; color: var(--gray-500); }
.pub-title { font-style: italic; font-weight: 600; color: var(--gray-900); margin: 0.2rem 0; font-size: 0.975rem; }
.pub-journal { font-size: 0.875rem; color: var(--blue-700); font-weight: 500; }

/* ===== REVIEWS ===== */
#reviews { background: var(--blue-50); border-top: 1px solid var(--blue-200); border-bottom: 1px solid var(--blue-200); }

.reviews-inner {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}

.stars-display {
  font-size: 2rem;
  letter-spacing: 0.15rem;
  margin-bottom: 0.75rem;
}

.rating-line {
  font-size: 1.1rem;
  color: var(--gray-700);
  margin-bottom: 1.75rem;
}
.rating-line strong { color: var(--blue-800); }

/* ===== LOCATION ===== */
#location { background: var(--white); }

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
}

.location-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.location-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 1rem;
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-300);
}
.location-detail:last-child { border-bottom: none; }

.location-detail svg {
  width: 18px;
  height: 18px;
  color: var(--blue-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.location-detail a {
  color: var(--blue-700);
  text-decoration: none;
  font-weight: 500;
}
.location-detail a:hover { text-decoration: underline; }

.map-placeholder {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-300);
  background: var(--blue-50);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--gray-500);
}

.map-placeholder svg { width: 40px; height: 40px; color: var(--blue-300); }

/* ===== FOOTER ===== */
footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.5rem;
  max-width: 340px;
  line-height: 1.6;
}

.footer-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-links h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.footer-links ul { list-style: none; }
.footer-links li + li { margin-top: 0.5rem; }
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--white); }

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue-500);
  color: var(--white);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.18s;
  margin-top: 1rem;
}
.footer-cta:hover { background: var(--blue-700); }

.footer-bottom {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  align-items: flex-start;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  max-width: 680px;
  line-height: 1.55;
}

/* ===== DIVIDERS / SECTION HEADS ===== */
.section-head {
  margin-bottom: 3rem;
}

.section-head h2 { margin-top: 0.35rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid,
  .credentials-grid,
  .location-grid,
  .footer-grid { grid-template-columns: 1fr; }

  .about-card { order: -1; }

  /* Stack hero: portrait first, then text */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .hero-text { order: 2; }
  .hero-photo { order: 1; }
  .hero-photo img { max-width: 260px; }
  .hero-tagline { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-decoration { display: none; }

  section { padding: 3.5rem 0; }
}

@media (max-width: 600px) {
  .focus-grid { grid-template-columns: 1fr; }
  .awards-row { flex-direction: column; align-items: center; }
  .award-card { width: 100%; max-width: 280px; }
  .hero-ctas { flex-direction: column; }
  .btn { justify-content: center; }
  .conditions-grid { grid-template-columns: 1fr 1fr; }
  .pub-list li { grid-template-columns: 1.75rem 1fr; }
}

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

/* ===== SKIP LINK (a11y) ===== */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 1rem;
  background: var(--blue-800);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  z-index: 9999;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }
