:root {
  --ink: #102833;
  --ink-soft: #4b616c;
  --teal: #0c7c86;
  --teal-deep: #084e5a;
  --teal-soft: #e7f5f6;
  --sand: #f5f7f6;
  --line: #e2e9eb;
  --white: #ffffff;
  --amber: #e86f2a;
  --shadow: 0 16px 40px rgba(16, 40, 51, 0.08);
  --radius: 18px;
  --header: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 2000;
  border-radius: 8px;
}

.skip-link:focus { top: 12px; }

.promo-bar {
  background: var(--teal-deep);
  color: #fff;
  font-size: 0.92rem;
}

.promo-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.promo-bar button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
}

.topbar {
  background: var(--ink);
  color: #d7e4e8;
  font-size: 0.88rem;
}

.topbar a { color: #d7e4e8; }

.topbar a:hover { color: #fff; }

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  flex-wrap: wrap;
  padding-top: 6px;
  padding-bottom: 6px;
}

.topbar-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar i { margin-right: 6px; color: #7fd3dc; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(10px);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(16, 40, 51, 0.06);
}

.navbar { padding: 0; min-height: var(--header); position: relative; }

.navbar-toggler {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 11px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--teal), var(--teal-deep));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.brand strong { display: block; font-size: 1.05rem; letter-spacing: -0.02em; line-height: 1.1; }

.brand small { color: var(--ink-soft); font-size: 0.75rem; }

.navbar-nav .nav-link {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 0.85rem !important;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover { color: var(--teal); }

.btn-appointment {
  background: var(--amber);
  color: #fff !important;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.7rem 1.15rem !important;
}

.btn-appointment:hover { background: #d45d1c; color: #fff !important; }

.btn-teal {
  background: var(--teal);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
}

.btn-teal:hover { background: var(--teal-deep); color: #fff; }

.btn-outline-ink {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 700;
  padding: 0.72rem 1.2rem;
  background: transparent;
}

.btn-outline-ink:hover { background: var(--ink); color: #fff; }

.hero {
  background:
    radial-gradient(circle at 90% 10%, rgba(12, 124, 134, 0.16), transparent 32%),
    linear-gradient(180deg, #f3fafb 0%, #ffffff 70%);
  padding: 56px 0 28px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero h1 span { color: var(--teal); }

.lead-copy {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 540px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.hero-meta {
  display: flex;
  gap: 22px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-meta strong { display: block; font-size: 1.15rem; }

.hero-meta span { color: var(--ink-soft); font-size: 0.86rem; }

.hero-visual { position: relative; }

.hero-visual img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 28px;
}

.float-card {
  position: absolute;
  left: -18px;
  bottom: 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 250px;
}

.float-card i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff4ec;
  color: var(--amber);
  font-size: 1.2rem;
}

.float-card strong { display: block; font-size: 0.95rem; line-height: 1.25; }

.float-card span { color: var(--ink-soft); font-size: 0.8rem; }

.section { padding: 78px 0; }

.section-head { max-width: 640px; margin-bottom: 34px; }

.section-head h2,
.page-hero h1 {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.section-head p { color: var(--ink-soft); margin: 10px 0 0; }

.sand { background: var(--sand); }

.info-card,
.service-card,
.dept-card,
.doctor-card,
.review-card,
.contact-card,
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 100%;
}

.info-card,
.service-card,
.dept-card,
.value-card,
.contact-card { padding: 22px; }

.info-card i,
.service-card i,
.dept-card i,
.value-card i,
.contact-card i {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.info-card h3,
.service-card h3,
.dept-card h3,
.value-card h3,
.contact-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.info-card p,
.service-card p,
.dept-card p,
.value-card p,
.contact-card p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }

.about-photo {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 28px;
}

.check-list { list-style: none; padding: 0; margin: 18px 0 0; }

.check-list li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 600;
}

.check-list i { color: var(--teal); }

.split-copy h3 { font-size: 1.2rem; margin-top: 18px; }

.doctor-card { overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }

.doctor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.doctor-photo {
  height: 280px;
  background: #dfecee;
  overflow: hidden;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.doctor-body h3 {
  font-size: 1.02rem;
  margin: 0 0 8px;
  line-height: 1.35;
}

.spec-label {
  display: inline-block;
  background: #fff;
  color: var(--teal-deep);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
}

.doctor-body { padding: 16px 18px 18px; }

.doctor-body .btn { width: 100%; display: block; margin-top: 14px; }
.doctor-body .spec-label { margin-right: 0; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

.filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 700;
  font-size: 0.86rem;
}

.filter-btn.active,
.filter-btn:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

.search-wrap { position: relative; }

.search-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-soft);
}

.search-wrap input { padding-left: 40px; border-radius: 999px; height: 48px; }

.stats {
  background: var(--ink);
  color: #fff;
  border-radius: 28px;
  padding: 34px 12px;
}

.stat-num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }

.stats p { margin: 6px 0 0; color: #b7c9d0; }

.review-card { padding: 22px; }

.stars { color: #e8a317; letter-spacing: 2px; margin-bottom: 8px; }

.review-card p { color: var(--ink); }

.reviewer { font-weight: 700; margin: 0; }

.reviewer span { display: block; font-weight: 500; color: var(--ink-soft); font-size: 0.85rem; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-control,
.form-select {
  border-radius: 12px;
  min-height: 48px;
  border-color: #d5e0e4;
}

textarea.form-control { min-height: 120px; }

.gallery-item {
  position: relative;
  border: 0;
  padding: 0;
  background: none;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: rgba(16, 40, 51, 0.82);
  color: #fff;
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: left;
}

.page-hero {
  background: linear-gradient(120deg, #084e5a, #0c7c86);
  color: #fff;
  padding: 54px 0 46px;
}

.page-hero p { color: #d7eef0; max-width: 560px; margin-bottom: 0; }

.breadcrumb { margin-bottom: 10px; }

.breadcrumb a { color: #d7eef0; }

.breadcrumb-item.active { color: #fff; }

.breadcrumb-item + .breadcrumb-item::before { color: #9fd4da; }

.map-frame {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 24px;
}

.site-footer {
  background: #0b1e26;
  color: #c5d4da;
  padding-top: 56px;
}

.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }

.site-footer a { color: #c5d4da; }

.site-footer a:hover { color: #fff; }

.site-footer ul { list-style: none; padding: 0; margin: 0; }

.site-footer li { margin-bottom: 8px; }

.footer-brand { color: #fff; font-weight: 800; font-size: 1.2rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 32px;
  padding: 16px 0;
  font-size: 0.88rem;
}

.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: none;
  place-items: center;
  z-index: 1040;
  box-shadow: var(--shadow);
}

.back-top.show { display: grid; }

.call-fab {
  position: fixed;
  right: 18px;
  bottom: 74px;
  z-index: 1040;
  background: var(--amber);
  color: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.call-fab:hover { color: #fff; background: #d45d1c; }

.empty-note {
  display: none;
  text-align: center;
  padding: 28px;
  color: var(--ink-soft);
}

@media (max-width: 991.98px) {
  .call-fab { display: none; }
  .hero { padding-top: 32px; }
  .hero-visual img { height: 320px; margin-top: 12px; }
  .float-card { left: 12px; bottom: 16px; }
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    background: #fff;
    border-top: 1px solid var(--line);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 22px 40px rgba(16, 40, 51, 0.14);
    padding: 4px 14px 16px;
    margin: 0;
    max-height: calc(100vh - 88px);
    overflow-y: auto;
  }
  .navbar-nav { width: 100%; }
  .navbar-nav .nav-item { width: 100%; }
  .navbar-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 14px 2px !important;
    font-size: 1rem;
  }
  .navbar-nav .nav-link.btn-appointment {
    justify-content: center;
    margin-top: 12px;
    border-bottom: 0;
    border-radius: 12px;
    padding: 13px 16px !important;
  }
  .navbar-nav .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    border: 0;
    box-shadow: none;
    background: var(--sand);
    border-radius: 12px;
    margin: 0 0 8px;
    padding: 6px;
  }
  .navbar-nav .dropdown-item {
    border-radius: 8px;
    padding: 10px 12px;
    font-weight: 600;
  }
  .section { padding: 58px 0; }
}

@media (max-width: 575.98px) {
  .topbar .social { display: none; }
  .promo-bar { font-size: 0.82rem; }
  .hero-actions .btn,
  .call-fab span.label { }
  .hero-actions .btn { width: 100%; text-align: center; }
  .form-card { padding: 18px; }
  .gallery-item img { height: 200px; }
  .call-fab { padding: 12px 14px; }
}
