﻿:root {
  --primary: #0c7bd9;
  --primary-strong: #0a63ae;
  --accent: #11b3e6;
  --deep: #0d2238;
  --text: #1c2a3a;
  --muted: #556374;
  --surface: #ffffff;
  --soft: #f4f7fb;
  --border: #e6eef7;
  --success: #12b886;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', 'Helvetica Neue', sans-serif;
  color: var(--text);
  background: var(--soft);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }
img { max-width: 100%; display: block; border-radius: 16px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px -18px rgba(0,0,0,0.18);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
}
.logo { width: 72px; height: 72px; object-fit: contain; border-radius: 12px; box-shadow: 0 4px 14px -8px rgba(0,0,0,0.35); }
.wide-logo { width: 150px; height: 72px; object-fit: contain; border-radius: 12px; }
.logo-mark { width: 64px; height: 64px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-weight: 800; border-radius: 14px; box-shadow: 0 8px 18px -10px rgba(12,123,217,0.55); letter-spacing: 0.02em; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 800; font-size: 16px; }
.brand-tagline { color: var(--muted); font-size: 13px; }

.nav { display: flex; gap: 18px; align-items: center; font-weight: 600; }
.nav a { padding: 10px 0; color: var(--muted); position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: 2px; width: 0; height: 2px; background: var(--primary); transition: width 0.25s ease; }
.nav a:hover { color: var(--primary-strong); }
.nav a:hover::after { width: 100%; }

.nav-actions { display: flex; gap: 10px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; box-shadow: 0 12px 26px -12px rgba(12,123,217,0.55); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 32px -14px rgba(12,123,217,0.6); }
.btn-secondary { background: #e7f1ff; color: var(--primary-strong); border-color: #d4e7ff; }
.btn-secondary:hover { background: #d9e9ff; transform: translateY(-1px); }
.btn-ghost { background: #ffffff; border-color: var(--border); color: var(--primary-strong); }
.btn-ghost:hover { border-color: #c8d8ec; transform: translateY(-1px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 10px; transition: 0.3s; }

main { display: flex; flex-direction: column; gap: 64px; }
section { padding: clamp(64px, 6vw, 96px) clamp(18px, 4vw, 96px); }
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  gap: 42px;
  background: radial-gradient(circle at 10% 20%, #e9f4ff 0, transparent 25%),
              radial-gradient(circle at 90% 10%, #e3f7ff 0, transparent 23%),
              linear-gradient(135deg, #ffffff 0%, #f6fbff 100%);
}
.hero-content h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.15; margin: 8px 0 12px; }
.highlight { color: var(--primary-strong); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--primary-strong); font-size: 12px; margin-bottom: 8px; }
.lede { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 12px 0 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0 18px; }
.pill-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { background: #eef5ff; color: var(--primary-strong); padding: 10px 12px; border-radius: 999px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #d9e6fb; }
.pill i { width: 16px; height: 16px; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.doctor-card { position: relative; max-width: 420px; background: #ffffff; border-radius: 18px; padding: 12px; box-shadow: 0 18px 48px -24px rgba(0,0,0,0.35); border: 1px solid #e5eef8; }
.doctor-card img { width: 100%; height: auto; border-radius: 14px; }
.doctor-card.no-image { display: grid; gap: 12px; justify-items: center; padding: 24px; }
.doctor-placeholder { width: 100%; min-height: 260px; border-radius: 14px; background: linear-gradient(145deg, #0c7bd9, #0d2238); color: #e8f3ff; display: grid; place-items: center; text-align: center; padding: 18px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.1); }
.doctor-initials { font-size: 32px; font-weight: 800; letter-spacing: 0.08em; }
.doctor-badge { position: absolute; left: 18px; top: 18px; background: #0f75c1; color: #fff; padding: 10px 12px; border-radius: 12px; box-shadow: 0 12px 30px -18px rgba(0,0,0,0.4); font-weight: 700; }
.badge-sub { display: block; font-weight: 500; opacity: 0.9; }
.stat-chip { position: absolute; right: 18px; bottom: 18px; background: #fff; color: var(--primary-strong); padding: 10px 12px; border-radius: 12px; box-shadow: 0 12px 32px -20px rgba(0,0,0,0.4); border: 1px solid #dfe9f6; display: grid; place-items: center; text-align: center; min-width: 110px; }
.stat-chip strong { font-size: 24px; }

.section-header { margin-bottom: 32px; }
.section-header h2 { margin: 6px 0 8px; font-size: clamp(26px, 3vw, 34px); }
.section-header .lede { max-width: 780px; }

.card-grid { display: grid; gap: 16px; }
.card-grid.four { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card-grid.three { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: 0 12px 30px -20px rgba(13,34,56,0.35); }
.card h3 { margin: 10px 0 8px; }
.card p { color: var(--muted); }
.card i { color: var(--primary-strong); width: 24px; height: 24px; }
.icon-card { display: grid; gap: 8px; align-content: start; }

.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; background: linear-gradient(120deg, #f7fbff 0%, #ffffff 35%, #f3f8ff 100%); }
.stats { display: flex; gap: 18px; flex-wrap: wrap; margin: 18px 0; }
.stat { background: #eef5ff; border-radius: 14px; padding: 12px 14px; border: 1px solid #dbe6f6; min-width: 120px; }
.stat strong { display: block; font-size: 20px; color: var(--primary-strong); }
.about-card { background: #0f2238; color: #e6f1ff; border-radius: 18px; padding: 22px; position: relative; overflow: hidden; }
.cert-badge { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 10px 12px; font-weight: 700; margin-bottom: 14px; display: inline-block; }
.profile-panel h3 { margin: 0 0 10px; }
.profile-panel ul { padding-left: 18px; margin: 0 0 14px; color: #c6d3e8; line-height: 1.6; }
.callout { display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; padding: 12px; }
.callout i { width: 20px; height: 20px; color: #8ad4ff; }
.callout-number { color: #fff; font-weight: 700; }

.facilities { background: #ffffff; }
.gallery { background: #f7fbff; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 16px; background: #fff; border: 1px solid var(--border); box-shadow: 0 12px 30px -22px rgba(0,0,0,0.28); }
.gallery-item img { height: 100%; width: 100%; object-fit: cover; border-radius: 16px; }
.gallery-item figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(13,34,56,0.8); color: #fff; padding: 8px 10px; border-radius: 10px; font-size: 13px; }
.gallery-item.gradient { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; display: grid; place-items: center; height: 240px; }
.empty-gallery { display: grid; }
.gallery-placeholder { background: linear-gradient(135deg, #e8f1fd, #f5f9ff); border: 1px dashed #c6d6ec; border-radius: 16px; padding: 32px; text-align: center; color: var(--muted); font-weight: 700; box-shadow: 0 12px 30px -22px rgba(0,0,0,0.18); }
.overlay-text { font-weight: 700; letter-spacing: 0.01em; }

.reviews { background: #ffffff; }
.slider { position: relative; overflow: hidden; margin: 12px 0 22px; }
.slider-track { display: flex; gap: 16px; transition: transform 0.35s ease; }
.testimonial { min-width: min(340px, 100%); background: #f5f8ff; border: 1px solid #e2eaf7; padding: 18px; border-radius: 16px; box-shadow: 0 10px 26px -20px rgba(0,0,0,0.32); }
.quote { font-size: 15px; line-height: 1.6; color: var(--text); margin: 0 0 12px; }
.author { color: var(--primary-strong); font-weight: 700; }
.slider-dots { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.slider-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: #c7d7eb; cursor: pointer; transition: transform 0.2s, background 0.2s; }
.slider-dots button.active { background: var(--primary); transform: scale(1.15); }

.review-form { background: #f5f8ff; border: 1px solid #e1e9f6; border-radius: 16px; padding: 18px; display: grid; gap: 12px; box-shadow: 0 10px 28px -22px rgba(0,0,0,0.26); }
.review-form h3 { margin: 0; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.review-form label { display: grid; gap: 6px; font-weight: 600; color: var(--muted); }
.review-form input, .review-form select, .review-form textarea {
  width: 100%; padding: 12px; border-radius: 12px; border: 1px solid #d7e3f3; background: #fff; font-family: inherit;
}
.form-note { color: var(--muted); font-size: 13px; margin: 0; }

.instagram { background: linear-gradient(135deg, #0f2238 0%, #0c7bd9 100%); color: #e6f2ff; position: relative; overflow: hidden; }
.insta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 18px; }
.insta-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 16px; box-shadow: 0 10px 26px -22px rgba(0,0,0,0.45); }
.insta-tag { display: inline-block; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,0.15); font-weight: 700; margin-bottom: 8px; }
.insta-card h3 { margin: 4px 0 8px; color: #fff; }
.insta-card p { color: #d8e7ff; }

.contact { background: #ffffff; }
.contact-board { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.contact-card { background: #f7fbff; border: 1px solid #e1e9f6; border-radius: 14px; padding: 18px; box-shadow: 0 10px 26px -22px rgba(0,0,0,0.28); display: grid; gap: 12px; }
.contact-card h3 { margin: 0; }
.contact-number { font-weight: 800; font-size: 20px; color: var(--primary-strong); margin: 0; }
.contact-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-card.map { padding: 0; overflow: hidden; }
.contact-card iframe { width: 100%; height: 100%; min-height: 260px; border: 0; }

.footer { background: #0d2238; color: #d4e3f8; padding: 32px 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.footer h3, .footer h4 { margin: 0 0 8px; color: #fff; }
.footer a { color: #d4e3f8; display: block; margin: 4px 0; font-weight: 600; }
.footer-bottom { grid-column: 1 / -1; text-align: center; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 12px; color: #c0d2eb; }

.review-actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .nav { position: absolute; right: 18px; top: 74px; background: #fff; flex-direction: column; padding: 14px; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 12px 36px -18px rgba(0,0,0,0.25); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 8px 6px; }
  .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 640px) {
  .topbar { padding: 12px 16px; }
  .hero { padding-top: 48px; }
  .hero-visual { order: -1; }
  .doctor-card { width: 100%; }
  .gallery-item.gradient { height: 180px; }
  .stat { min-width: auto; flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .btn, .slider-track { transition: none; }
}
