:root {
  --blue: #1a76d1;
  --blue-dark: #1565b8;
  --ink: #2c2d3f;
  --muted: #757575;
  --line: #eeeeee;
  --soft: #f9f9f9;
  --max: 1170px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--muted);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; line-height: 1.35; margin: 0 0 12px; }
p { margin: 0 0 14px; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: .25s ease;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn.dark { background: var(--ink); }
.btn.dark:hover { background: var(--blue); }
.btn.white { background: #fff; color: var(--blue); }
.btn.ghost { background: transparent; color: #fff; border: 1px solid #fff; }
.btn.ghost:hover { background: #fff; color: var(--blue); }

.preloader {
  position: fixed; inset: 0; background: #fff; z-index: 100;
  display: grid; place-items: center;
}
.preloader.hide { opacity: 0; visibility: hidden; pointer-events: none; transition: .4s ease; }
.beat svg { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.beat polyline { stroke-dasharray: 90; animation: dash 1.2s ease infinite; }
@keyframes dash { 50% { stroke-dashoffset: -90; } }

.topbar { border-bottom: 1px solid var(--line); background: #fff; }
.topbar-inner, .nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-inner { min-height: 48px; }
.top-links, .top-contact { display: flex; gap: 16px; align-items: center; }
.top-links a { color: var(--ink); font-size: 14px; }
.top-links a:hover, .top-contact i { color: var(--blue); }
.top-contact { color: var(--ink); font-size: 14px; }
.top-contact i { margin-right: 6px; }
.nav-inner { min-height: 90px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 26px; font-weight: 700; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 18px;
}
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > ul { display: flex; align-items: center; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: block; padding: 28px 12px; color: var(--ink); font-weight: 500; font-size: 15px; }
.main-nav > ul > li.active > a, .main-nav > ul > li:hover > a { color: var(--blue); }
.main-nav .sub {
  position: absolute; top: 100%; left: 0; min-width: 190px; background: #fff;
  border-top: 2px solid var(--blue); box-shadow: 0 10px 30px rgba(0,0,0,.08);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; z-index: 20; padding: 8px 0;
}
.main-nav li:hover > .sub { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub a { display: block; padding: 8px 18px; color: var(--ink); font-size: 14px; }
.main-nav .sub a:hover { color: var(--blue); padding-left: 22px; }
.nav-btn { margin-left: 12px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; }

.slider { position: relative; background: #f4f8fc; }
.slide { display: none; position: relative; }
.slide.is-active { display: block; }
.slide-img { width: 100%; height: auto; }
.slide-content { position: absolute; inset: 0; display: flex; align-items: center; }
.slide-text { max-width: 560px; padding: 24px 0 70px; }
.slide-text h1 { font-size: 42px; line-height: 1.25; margin-bottom: 18px; }
.slide-text h1 span { color: var(--blue); }
.slide-text p { font-size: 16px; margin-bottom: 26px; }
.slide-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.slide-arrow {
  position: absolute; top: 42%; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 22px; cursor: pointer; z-index: 2;
}
.slide-arrow.prev { left: 24px; }
.slide-arrow.next { right: 24px; }
.slide-arrow:hover { background: var(--ink); }

.schedule { position: relative; z-index: 3; margin-top: -70px; }
.schedule-grid, .grid-3, .grid-4, .grid-2, .footer-grid, .content-grid, .doctor-layout, .split {
  display: grid; gap: 30px;
}
.schedule-grid, .grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.schedule-card {
  position: relative; overflow: hidden; background: var(--blue); color: #fff;
  border-radius: 5px; padding: 32px 28px 26px; min-height: 250px;
  transition: .25s ease;
}
.schedule-card:hover { transform: translateY(-5px); }
.schedule-card span, .schedule-card p, .schedule-card li, .schedule-card a { color: #fff; }
.schedule-card h3 { color: #fff; font-size: 22px; margin: 8px 0 14px; }
.schedule-card a { display: inline-block; margin-top: 12px; font-weight: 500; }
.schedule-card ul li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.schedule-card .recommend-list { margin: 8px 0 0; padding: 0; list-style: none; }
.schedule-card .recommend-list li { display: block; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.22); }
.schedule-card .recommend-list a { display: block; margin: 0; font-weight: 400; line-height: 1.5; }
.schedule-card .recommend-list a:hover { text-decoration: underline; }
.who li a:hover { color: var(--blue); }
.watermark { position: absolute; right: -6px; bottom: -18px; font-size: 110px; opacity: .16; }

.section { padding: 90px 0; }
.section.soft { background: var(--soft); }
.section-title { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-title h2 { font-size: 32px; }
.section-title img { margin: 8px auto 0; }
.section-title p { margin-top: 12px; }
.feature, .service-card, .price-card, .vision {
  background: #fff; text-align: center; padding: 36px 26px; border: 1px solid #f0f0f0;
}
.feature-icon, .service-card > i, .price-card > i, .vision > i {
  width: 78px; height: 78px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; color: var(--blue); font-size: 30px;
  border: 1px solid #ececec;
}
.feature:hover .feature-icon, .service-card:hover > i { background: var(--blue); color: #fff; }
.service-card h3 a:hover, .more { color: var(--blue); }
.more { font-weight: 500; }

.funfacts, .callout, .reviews, .crumbs {
  position: relative; background-size: cover; background-position: center; color: #fff;
}
.funfacts { background-image: url('/img/fun-bg.jpg'); padding: 90px 0; }
.callout { background-image: url('/img/call-bg.jpg'); padding: 70px 0; }
.reviews { background-image: url('/img/testi-bg.jpg'); padding: 90px 0; }
.crumbs { background-image: url('/img/breadcrumb.jpg'); padding: 78px 0; text-align: center; }
.funfacts::before, .callout::before, .reviews::before, .crumbs::before {
  content: ""; position: absolute; inset: 0; background: rgba(26,118,209,.86);
}
.funfacts .container, .callout .container, .reviews .container, .crumbs .container { position: relative; z-index: 1; }
.stat { display: flex; gap: 16px; align-items: center; color: #fff; }
.stat i { font-size: 48px; }
.stat strong { display: block; font-size: 32px; color: #fff; }
.stat span, .crumbs p, .crumbs a, .callout p { color: #fff; }
.crumbs h1 { color: #fff; font-size: 36px; }
.split { grid-template-columns: 1.05fr .95fr; align-items: center; }
.who h3 { position: relative; padding-bottom: 12px; margin-bottom: 16px; }
.who h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 46px; height: 2px; background: var(--blue); }
.who li, .check-list li { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0; color: var(--ink); }
.who li i, .check-list i, .dept-panel li i, .price-card li i { color: var(--blue); margin-top: 4px; }
.video-box { position: relative; }
.video-box img, .frame { width: 100%; height: 360px; object-fit: cover; border-radius: 4px; }
.frame.wide { height: 420px; margin-bottom: 22px; }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 74px; height: 74px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; font-size: 22px; cursor: pointer;
  box-shadow: 0 0 0 12px rgba(26,118,209,.25);
}
.callout-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.callout h2 { color: #fff; font-size: 30px; max-width: 680px; }
.callout-actions { display: flex; gap: 12px; flex-shrink: 0; }
.gallery { gap: 18px; }
.shot { position: relative; display: block; overflow: hidden; }
.shot img { width: 100%; height: 220px; object-fit: cover; transition: .35s ease; }
.shot:hover img { transform: scale(1.06); }
.shot span {
  position: absolute; inset: 0; background: rgba(26,118,209,.78); color: #fff;
  display: grid; place-items: center; align-content: center; text-align: center; opacity: 0; transition: .25s ease; font-size: 20px; font-weight: 600;
}
.shot small { display: block; font-size: 14px; font-weight: 400; margin-top: 6px; }
.shot:hover span { opacity: 1; }

.review { display: none; text-align: center; max-width: 760px; margin: 0 auto; }
.review.is-active { display: block; }
.review.static { display: block; background: #fff; color: var(--muted); padding: 28px; border: 1px solid #f0f0f0; text-align: left; max-width: none; }
.reviews.plain { background: #fff; }
.reviews.plain::before { display: none; }
.review p { color: #fff; font-size: 17px; }
.review.static p { color: var(--muted); }
.review footer { display: flex; gap: 12px; justify-content: center; align-items: center; margin-top: 18px; }
.review.static footer { justify-content: flex-start; }
.review img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.review strong { display: block; color: #fff; }
.review.static strong { color: var(--ink); }
.review span { color: rgba(255,255,255,.85); font-size: 13px; }
.review.static span { color: var(--blue); }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; }
.dots button.is-active { background: #fff; }

.dept { display: grid; grid-template-columns: 230px 1fr; gap: 28px; align-items: start; }
.dept-tabs { display: grid; }
.dept-tabs button {
  text-align: left; background: #fff; border: 1px solid var(--line); border-bottom: 0; padding: 16px 18px; cursor: pointer; color: var(--ink); font-size: 16px;
}
.dept-tabs button:last-child { border-bottom: 1px solid var(--line); }
.dept-tabs button.is-active { background: var(--blue); color: #fff; }
.dept-panel { display: none; grid-template-columns: 280px 1fr; gap: 24px; align-items: center; }
.dept-panel.is-active { display: grid; }
.dept-panel img { width: 100%; height: 220px; object-fit: cover; }
.quote { color: var(--ink); font-weight: 500; }
.price-card .amount { color: var(--blue); font-size: 36px; font-weight: 700; margin: 8px 0 16px; }
.price-card small { font-size: 14px; color: var(--muted); font-weight: 500; }
.price-card li { display: flex; gap: 8px; justify-content: center; margin: 8px 0; }

.team-band {
  position: relative;
  background: url('/img/testi-bg.jpg') center/cover no-repeat;
  padding: 100px 0 80px;
}
.team-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #1a76d1;
  opacity: .88;
}
.team-band .container { position: relative; z-index: 1; }
.team-band .section-title h2,
.team-band .section-title p { color: #fff; }
.team-grid { align-items: start; }
.doctor-card {
  background: #fff;
  text-align: center;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,.13);
}
.doctor-photo { position: relative; overflow: hidden; }
.doctor-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  z-index: 1;
  transition: .3s ease;
}
.doctor-card:hover .doctor-photo::before { opacity: .5; }
.doctor-photo img { width: 100%; aspect-ratio: 445 / 500; object-fit: cover; object-position: top; display: block; }
.doctor-book {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 150px;
  height: 46px;
  margin: -23px 0 0 -75px;
  background: #2889e4;
  color: #fff;
  border-radius: 4px;
  line-height: 46px;
  font-size: 13px;
  font-weight: 400;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transform: scale(.6);
  transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
}
.doctor-card:hover .doctor-book { opacity: 1; visibility: visible; transform: scale(1); }
.doctor-book span { position: relative; z-index: 1; }
.doctor-book::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #2c2d3f;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .4s ease;
  z-index: 0;
}
.doctor-book:hover::before { transform: scaleX(1); }
.doctor-meta { padding: 25px 20px; }
.doctor-meta p { color: #666; font-size: 13px; margin: 0 0 4px; }
.doctor-meta h3 { font-size: 18px; font-weight: 500; margin: 0; }
.doctor-meta h3 a:hover { color: var(--blue); }
.doctor-layout { grid-template-columns: 320px 1fr; align-items: start; }
.doctor-side img { width: 100%; height: 380px; object-fit: cover; object-position: top; }
.doctor-social-row { display: flex; }
.doctor-social-row a { flex: 1; text-align: center; background: var(--blue); color: #fff; padding: 10px 0; }
.doctor-social-row a:hover { background: var(--ink); }
.info-list li { display: flex; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.info-list i { color: var(--blue); margin-top: 4px; }
.role { color: var(--blue); font-weight: 600; }
.degree { color: var(--ink); }

.post-card { background: #fff; box-shadow: 0 8px 24px rgba(44,45,63,.05); }
.post-cover { position: relative; display: block; }
.post-cover img { width: 100%; height: 210px; object-fit: cover; }
.post-cover time { position: absolute; left: 16px; top: 16px; background: var(--blue); color: #fff; padding: 6px 10px; font-size: 13px; }
.post-body { padding: 20px; }
.stack-posts { display: grid; gap: 24px; }
.stack-posts .post-card { display: grid; grid-template-columns: 240px 1fr; }
.stack-posts .post-cover img { height: 100%; min-height: 170px; }

.site-footer { color: #fff; }
.footer-main { position: relative; background: var(--blue); padding: 70px 0 50px; }
.footer-main::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.1); }
.footer-grid { position: relative; grid-template-columns: 1.3fr .8fr 1fr 1.1fr; }
.site-footer h2 { color: #fff; font-size: 20px; padding-bottom: 12px; position: relative; }
.site-footer h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 46px; height: 2px; background: #fff; }
.site-footer p, .footer-links a, .hours li { color: #fff; }
.footer-links a { display: block; padding: 4px 0 4px 14px; position: relative; }
.footer-links a::before { content: "\f0da"; font-family: FontAwesome; position: absolute; left: 0; }
.footer-links a:hover { padding-left: 18px; }
.hours li, .hours-card li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.footer-social { display: flex; gap: 8px; margin-top: 14px; }
.footer-social a { width: 34px; height: 34px; border: 1px solid #fff; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.footer-social a:hover { background: #fff; color: var(--blue); }
.sub-form { display: flex; margin-top: 12px; }
.sub-form input { flex: 1; border: 0; background: rgba(255,255,255,.15); color: #fff; padding: 12px 14px; }
.sub-form input::placeholder { color: #fff; }
.sub-form button { border: 0; background: #fff; color: var(--blue); padding: 0 16px; cursor: pointer; font-weight: 600; }
.copyright { background: var(--blue-dark); text-align: center; padding: 18px 16px; }
.copyright p { margin: 0; color: #fff; }

.hours-card { background: var(--blue); color: #fff; padding: 28px; }
.hours-card h3, .hours-card p, .hours-card li { color: #fff; }
.hours-card.tall { align-self: start; }
.hours-card .plain li { justify-content: flex-start; }
.content-grid { grid-template-columns: 1.4fr .8fr; align-items: start; }
.stack-form input, .stack-form select, .stack-form textarea, .side-book input, .side-search input {
  width: 100%; border: 1px solid #e6e6e6; background: #fff; color: var(--ink); padding: 14px 16px; margin-bottom: 16px; font-size: 14px;
}
.stack-form textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead { margin-bottom: 18px; }
.check { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; color: var(--ink); }
.kicker { color: var(--blue); font-weight: 600; }
.prose h2 { margin-top: 8px; }
.prose blockquote { margin: 18px 0; padding: 16px 18px; border-left: 4px solid var(--blue); background: #f5f9fd; color: var(--ink); }
.side-box, .side-book { background: #fff; border: 1px solid #f0f0f0; padding: 22px; margin-bottom: 20px; }
.side-box h3, .side-book h3 { font-size: 18px; }
.side-box li { display: flex; justify-content: space-between; border-bottom: 1px solid #f3f3f3; padding: 8px 0; }
.side-box a:hover { color: var(--blue); }
.recent li { display: block; }
.recent small, .meta { color: #999; display: block; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { border: 1px solid var(--line); padding: 4px 10px; }
.tags a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.side-search { display: flex; margin-bottom: 18px; }
.side-search input { margin: 0; }
.side-search button { border: 0; background: var(--blue); color: #fff; padding: 0 16px; cursor: pointer; }
.side-search.big { margin-bottom: 28px; }
.pager { display: grid; gap: 10px; margin: 24px 0; }
.pager a { color: var(--blue); }
.comment { border-bottom: 1px solid var(--line); padding: 12px 0; }
.narrow { max-width: 860px; }
.narrow-article { max-width: 860px; }
.accordion article { border: 1px solid var(--line); border-bottom: 0; }
.accordion article:last-child { border-bottom: 1px solid var(--line); }
.accordion button { width: 100%; text-align: left; background: #fff; border: 0; padding: 16px 18px; font-size: 16px; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; }
.accordion article.open button { background: var(--blue); color: #fff; }
.accordion article div { display: none; padding: 16px 18px; }
.accordion article.open div { display: block; }
.partner-band { background: #f4f7fb; padding: 36px 0; }
.clients { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.clients img { height: 54px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1); }
.table-wrap { overflow-x: auto; }
.time-table { width: 100%; border-collapse: collapse; min-width: 760px; background: #fff; }
.time-table th { background: var(--blue); color: #fff; padding: 14px 10px; font-weight: 500; }
.time-table td { border: 1px solid #eee; text-align: center; padding: 16px 8px; height: 84px; }
.time-table td strong { display: block; color: var(--ink); }
.time-table td span, .time-table .time { color: var(--blue); }
.result-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.result-list a { color: var(--ink); font-weight: 600; }
.result-list a:hover { color: var(--blue); }
.empty { padding: 12px 0 24px; }
.missing { text-align: center; padding: 90px 0 110px; }
.missing p { font-size: 90px; color: var(--blue); font-weight: 700; line-height: 1; margin-bottom: 8px; }
.missing form { display: flex; justify-content: center; gap: 8px; margin: 20px 0; }
.missing input { border: 1px solid var(--line); padding: 12px 14px; min-width: 260px; }
.alert { margin: 16px auto; padding: 12px 16px; background: #e8f6ee; color: #146c36; }
.alert.error { background: #fdecec; color: #a12626; }
.to-top {
  position: fixed; right: 18px; bottom: 18px; width: 42px; height: 42px; border: 0; border-radius: 4px;
  background: var(--blue); color: #fff; cursor: pointer; display: none; z-index: 15;
}
.to-top.show { display: grid; place-items: center; }
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 40; display: grid; place-items: center; padding: 20px; }
.modal-card { background: #fff; max-width: 560px; width: 100%; padding: 22px; position: relative; }
.modal-card img { width: 100%; height: 240px; object-fit: cover; margin-bottom: 12px; }
.modal-close { position: absolute; right: 8px; top: 4px; border: 0; background: transparent; font-size: 28px; cursor: pointer; }

@media (max-width: 991px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff;
    flex-direction: column; align-items: stretch; padding: 10px 16px 20px; box-shadow: 0 12px 24px rgba(0,0,0,.08); z-index: 30;
  }
  .nav-wrap { position: relative; }
  .main-nav.open { display: flex; }
  .main-nav > ul { flex-direction: column; align-items: stretch; }
  .main-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; }
  .main-nav li.open > .sub { display: block; }
  .nav-btn { margin: 10px 0 0; text-align: center; }
  .grid-3, .grid-4, .schedule-grid, .footer-grid, .content-grid, .doctor-layout, .split, .dept, .dept-panel, .grid-2 { grid-template-columns: 1fr 1fr; }
  .footer-grid, .content-grid, .doctor-layout, .dept, .dept-panel { grid-template-columns: 1fr; }
  .slide-text h1 { font-size: 32px; }
  .callout-inner { flex-direction: column; align-items: flex-start; }
  .stack-posts .post-card { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .top-links { display: none; }
  .grid-3, .grid-4, .schedule-grid, .grid-2, .form-row { grid-template-columns: 1fr; }
  .slide-text { padding-top: 48px; }
  .slide-arrow { display: none; }
  .section { padding: 64px 0; }
}
