:root {
    --bg: #f7fbfb;
    --surface: #ffffff;
    --surface-soft: #eaf8f7;
    --teal: #09a5a9;
    --teal-dark: #08777b;
    --teal-deep: #07565d;
    --teal-ink: #123f45;
    --accent: #f37f04;
    --accent-dark: #b95700;
    --text: #163b40;
    --muted: #5c7478;
    --border: #d6e8e8;
    --margin: clamp(18px, 4vw, 64px);
    --gutter: clamp(16px, 2.4vw, 34px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}
a { color: inherit; }
.wrap { width: min(1280px, 100%); max-width: none; padding-inline: var(--margin); }
.top { background: var(--teal-deep); color: #eaffff; padding: 8px 0; font-size: 13px; }
.topin { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.top span:last-child { color: #b9e9e8; }
.nav { background: rgba(247, 251, 251, .96); border-bottom: 0; }
.navin { min-height: 82px; }
.brand b { display: flex; align-items: center; gap: 10px; color: var(--teal-deep); font-size: 19px; letter-spacing: -.03em; }
.brand-title { min-width: 0; }
.brand-title > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-logo { width: 38px; height: 38px; flex: 0 0 auto; object-fit: contain; }
.brand small { color: var(--teal); font-size: 13px; letter-spacing: .08em; }
.brand-mark { display: inline-grid; place-items: center; width: 27px; height: 27px; border-radius: 9px; background: var(--teal); color: #fff; font-size: 23px; line-height: 1; font-weight: 400; }
.nav nav { color: var(--teal-ink); font-size: 14px; gap: 4px; }
.nav nav a { padding: 9px 13px; border-radius: 9px; transition: background .2s ease, color .2s ease; }
.nav nav a:hover, .nav nav a.active { background: var(--surface-soft); color: var(--teal-dark); }
.cta, .secondary { border-radius: 8px; padding: 11px 17px; font-size: 14px; transition: transform .2s ease, background .2s ease, color .2s ease; }
.cta { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.cta:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); }
.secondary { background: var(--surface); border: 0; color: var(--teal-dark); }
.secondary:hover { background: var(--surface-soft); border-color: var(--teal); transform: translateY(-2px); }
.hero { padding: clamp(54px, 8vw, 116px) 0 clamp(58px, 8vw, 110px); background: var(--surface-soft); }
.home-page .hero { padding-block: clamp(44px, 5.5vw, 78px); background: #e8f6f5; }
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(34px, 5vw, 72px); align-items: center; }
.hero-copy { max-width: 600px; }
.pill { background: #d5f1f0; color: var(--teal-dark); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.hero h1 { max-width: 680px; margin: 0 0 20px; color: var(--teal-deep); font-size: clamp(42px, 5vw, 72px); line-height: 1.12; letter-spacing: -.06em; }
.hero p { max-width: 42ch; color: var(--teal-ink); font-size: 18px; line-height: 1.9; }
.actions { gap: 12px; margin: 30px 0 0; }
.art { min-height: clamp(360px, 43vw, 590px); border-radius: 30px; background: #bfe9e7; }
.art::before { display: none; content: none; }
.pet { width: 150px; height: 150px; border: 17px solid rgba(255,255,255,.72); border-radius: 50%; }
.section { padding: clamp(62px, 8vw, 118px) 0; }
.home-page > .section { padding-block: clamp(38px, 4.6vw, 66px); }
.home-page .section-head { margin-bottom: 22px; }
.home-doctors { background: #f8fbfb; }
.home-services { background: #eaf6f5; }
.home-branches { background: #fff; }
.home-finder { background: #fff7ed; }
.home-care { background: #eef8f7; }
.alt { background: #eef9f8; }
.section-head { align-items: end; margin-bottom: 30px; }
.section-head h2, .care-section h2 { color: var(--teal-deep); font-size: clamp(28px, 3.4vw, 48px); line-height: 1.2; letter-spacing: -.04em; }
.section-head p { max-width: 42ch; color: var(--muted); font-size: 16px; }
.cards { gap: clamp(14px, 2vw, 26px); }
.card { background: var(--surface); border: 0; border-radius: 18px; padding: clamp(22px, 3vw, 34px); }
.card h2, .card h3 { color: var(--teal-deep); }
.card h2 { font-size: clamp(22px, 2.4vw, 32px); }
.card h3 { font-size: 21px; line-height: 1.35; }
.card p { font-size: 16px; line-height: 1.8; }
.service-card { position: relative; padding-top: 30px; border: 2px solid var(--teal); border-radius: 18px; }
.service-card .pill { background: #fff0df; color: var(--accent-dark); }
.service-branches { color: var(--muted); }
.service-branches b { color: var(--teal-ink); }
.service-branches a, .arrow { color: var(--teal-dark); font-weight: 700; }
.arrow { display: inline-block; margin-top: 12px; }
.arrow:hover { color: var(--accent-dark); }
.care-section { background: var(--bg); }
.care-section .split { align-items: stretch; }
.greenpanel { background: var(--teal-deep); border-radius: 22px; padding: clamp(26px, 4vw, 48px); color: #f2ffff; }
.greenpanel h2 { color: #fff; }
.greenpanel p { color: #c7eceb; font-size: 16px; }
.feature { padding: 18px 0; border-bottom: 0; }
.feature b { color: #fff; font-size: 18px; }
.feature p { margin: 3px 0 0; font-size: 15px; }
.greenpanel .secondary { margin-top: 18px; background: #fff; border: 0; color: var(--teal-deep); }
.faq-panel { padding: 12px clamp(4px, 3vw, 42px); }
.faq-panel h2 { margin-top: 0; }
.faq { padding: 17px 0; border-bottom: 0; }
.faq summary { color: var(--teal-ink); font-size: 17px; font-weight: 700; cursor: pointer; }
.faq p { margin-top: 10px; }
.doctor-card { padding-top: 22px; }
.doctor-avatar { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 24px; border-radius: 20px; background: var(--teal); color: #fff; font-size: 25px; font-weight: 700; }
.doctor-cover { display: block; width: calc(100% + 2 * clamp(22px, 3vw, 34px)); height: 240px; max-width: none; margin: -22px calc(-1 * clamp(22px, 3vw, 34px)) 22px; border-radius: 18px 18px 0 0; object-fit: cover; }
.doctor-details-link { margin-top: auto; }
.branch-card { position: relative; }
.branch-cover { display: block; width: calc(100% + clamp(44px, 6vw, 68px)); height: 190px; margin: calc(-1 * clamp(22px, 3vw, 34px)) calc(-1 * clamp(22px, 3vw, 34px)) 22px; border-radius: 18px 18px 0 0; object-fit: cover; }
.branch-card-cover-link { display: block; }
.branch-card-title-link { color: inherit; text-decoration: none; }
.branch-card-title-link:hover { color: var(--teal-dark); }
.branch-number { display: block; margin-bottom: 18px; color: var(--accent); font-size: 42px; line-height: 1; font-weight: 800; letter-spacing: -.06em; }
.contact-line { margin-bottom: 5px; color: var(--teal-ink); }
.finder { margin-top: 36px; padding: clamp(24px, 4vw, 42px); border-radius: 20px; background: var(--teal-deep); color: #fff; }
#branches, #branch-finder { scroll-margin-top: 160px; }
.finder h2 { margin-top: 0; color: #fff; }
.finder p { color: #c7eceb; }
.finder .search { margin-bottom: 0; }
.finder .search select { background: #fff; border: 0; }
.finder .cta { background: var(--accent); }
.compact-cards { margin-top: 20px; }
.finder .compact-cards .info { background: #e8f6f5; color: var(--teal-ink); }
.finder .compact-cards .info strong { color: var(--teal-deep); }
.finder .compact-cards .info p { color: #375e63; }
.finder .compact-cards .info a { color: var(--teal-dark); font-weight: 700; }
.page { padding: clamp(24px, 4vw, 48px) 0 100px; min-height: 540px; }
.pagehead {
    --head-accent: var(--accent);
    padding: clamp(24px, 4vw, 48px);
    margin-bottom: clamp(30px, 4vw, 50px);
    border: 0;
    border-radius: 20px;
    background: var(--teal-deep);
}
.pagehead-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(250px, .7fr); gap: clamp(32px, 8vw, 120px); align-items: end; }
.pagehead-grid--solo { grid-template-columns: 1fr; }
.pagehead--doctors { --head-accent: #7fd4d2; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 30px; color: #c7eceb; font-size: 14px; overflow-wrap: anywhere; }
.crumb a { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #7fbfbd; }
.crumb a:hover { text-decoration-color: #fff; }
.pagehead h1 { min-width: 0; margin: 0; color: #fff; font-size: clamp(36px, 4vw, 58px); line-height: 1.24; letter-spacing: -.04em; overflow-wrap: anywhere; text-wrap: pretty; }
.pagehead-grid > p { max-width: 38em; margin: 0 0 4px; padding-left: 18px; border-left: 4px solid var(--head-accent); color: #d5eeed; font-size: 17px; line-height: 1.9; overflow-wrap: anywhere; }
.pagehead-grid h1, .pagehead-grid > p { animation: appear .45s ease both; }
.pagehead-grid > p { animation-delay: .08s; }
.pagehead--with-image { position: relative; isolation: isolate; overflow: hidden; background: var(--teal-deep); }
.pagehead--with-image::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    content: "";
    background-image: linear-gradient(90deg, rgba(0, 61, 64, .86), rgba(0, 61, 64, .66)), var(--pagehead-image);
    background-position: center 44%;
    background-repeat: no-repeat;
    background-size: cover;
}
.pagehead--with-image > * { position: relative; z-index: 1; }
.pagehead.pagehead--plain { padding: 0 0 clamp(16px, 2vw, 24px); margin-bottom: clamp(18px, 2vw, 24px); background: transparent; border-bottom: 1px solid var(--border); border-radius: 0; }
.pagehead--plain + .doctor-detail, .pagehead--plain + .article-body { margin-top: 0; }
.pagehead--plain .crumb { color: var(--muted); }
.pagehead--plain .crumb a { color: var(--teal-dark); text-decoration-color: var(--border); }
.pagehead--plain .crumb a:hover { text-decoration-color: currentColor; }
.pagehead--plain .pagehead-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.pagehead--plain h1 { color: var(--teal-deep); }
.pagehead--plain .pagehead-grid > p { max-width: none; margin: 0; padding: 0; border-left: 0; color: var(--muted); }
.article-card { min-height: 260px; display: flex; flex-direction: column; align-items: flex-start; }
.article-card h2 { margin-top: 24px; }
.article-card .arrow { margin-top: auto; }
.case-card { overflow-wrap: anywhere; }
.case-grid > .empty { grid-column: 1 / -1; }
.case-cover-link { display: block; align-self: stretch; margin-bottom: 20px; }
.case-cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
.case-detail-cover { display: block; width: 100%; height: auto; margin: 24px 0; border-radius: 14px; }
.doctor { display: none; }
.small { color: var(--muted); font-size: 14px; }
.branch-grid { gap: 26px; }
.branch-grid .info small { color: var(--muted); font-size: 14px; }
.branch-grid .info strong { color: var(--teal-ink); font-size: 16px; line-height: 1.8; }
.branch-art { min-height: 260px; border-radius: 22px; background: var(--teal); position: relative; overflow: hidden; }
.branch-art--with-image { background-position: center; background-repeat: no-repeat; background-size: cover; }
.branch-art--with-image::before { display: none; }
.branch-map-section { margin-top: clamp(28px, 4vw, 46px); }
.branch-map-section .section-head { margin-bottom: 14px; }
.branch-map { width: 100%; min-height: 360px; overflow: hidden; border: 1px solid var(--teal); border-radius: 18px; background: var(--surface-soft); }
.branch-map-caption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; color: var(--muted); font-size: 14px; }
.branch-map-caption a { color: var(--teal-dark); font-weight: 700; }
.branch-map-placeholder { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface-soft); text-align: center; }
.branch-map-placeholder p { margin: 0; color: var(--teal-ink); font-weight: 700; }
.branch-map-section > .small { margin-top: 8px; }
.doctor-detail { display: grid; gap: 18px; max-width: 900px; margin: 34px auto; padding: clamp(24px, 5vw, 56px); }
.doctor-detail-cover { width: min(100%, 420px); height: auto; max-height: 480px; border-radius: 18px; object-fit: cover; }
.doctor-detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--muted); }
.doctor-detail-summary { color: var(--teal-ink); font-size: 18px; }
.doctor-detail h2 { margin: 12px 0 0; color: var(--teal-deep); }
.doctor-back { justify-self: start; }
.rich-content { color: inherit; overflow-wrap: anywhere; }
.branch-description { max-width: 900px; margin: 34px auto; color: var(--teal-ink); font-size: 17px; line-height: 1.9; }
.rich-content p { margin: 0 0 1em; color: inherit; }
.rich-content h2, .rich-content h3, .rich-content h4 { margin: 1.3em 0 .6em; color: inherit; }
.rich-content ul, .rich-content ol { padding-left: 1.5em; }
.rich-content blockquote { margin: 1em 0; padding: .6em 1em; border-left: 4px solid var(--accent); background: #ffffff12; }
.rich-content img, .rich-content video { display: block; max-width: 100%; height: auto; margin: 1.2em 0; border-radius: 14px; }
.rich-content video { width: min(100%, 720px); }
.rich-content--light a { color: #fff; text-decoration: underline; }
.about-intro > h2 { margin: 0 0 22px; color: var(--teal-deep); font-size: clamp(24px, 3vw, 36px); line-height: 1.35; }
.about-intro .feature b { color: var(--teal-ink); }
.about-intro .feature p { color: var(--muted); }
.about-intro .rich-content a { color: var(--teal-dark); text-decoration: underline; }
.branch-art::before { content: ""; position: absolute; width: 180px; height: 180px; border: 25px solid rgba(255,255,255,.18); border-radius: 50%; right: -28px; bottom: -35px; }
.section-head-tight { margin-top: 66px !important; }
.article-body { max-width: 900px; margin: 34px auto; padding: clamp(26px, 5vw, 62px); border-radius: 22px; }
.articleicon { display: none; }
.article-copy { color: var(--teal-ink); font-size: 18px; line-height: 2; }
.article-copy.rich-content { white-space: normal; }
.notice { background: #fff0df; color: #75420f; border: 0; border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; padding: 14px 18px; font-size: 15px; }
.search input, .search select { min-height: 48px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 11px 14px; font-size: 16px; }
.filters { gap: 9px; }
.filter { border: 0; background: #e4f4f3; color: var(--teal-dark); border-radius: 999px; padding: 8px 15px; font-size: 14px; }
.filter.active { background: var(--teal); color: #fff; }
.tablewrap { border: 0; border-radius: 14px; background: var(--surface); }
th { background: var(--surface-soft); color: var(--teal-dark); }
th, td { padding: 15px; border-bottom: 1px solid var(--border); font-size: 15px; }
.yes { color: var(--teal-dark); }
.no { color: #9aaeb0; }
.empty { background: var(--surface-soft); color: var(--muted); padding: 28px; border-radius: 14px; font-size: 16px; }
.pagination a, .pagination span { background: var(--surface); color: var(--teal-dark); }
footer { background: var(--teal-deep); padding: 64px 0 24px; color: #eaffff; }
footer p { color: #bfe5e4; font-size: 15px; }
footer a { display: block; margin: 5px 0; color: #d6f1f0; }
footer a:hover { color: #fff; }
.copyright { margin-top: 34px; padding-top: 20px; border-top: 0; color: #9dcaca; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }
.hero-copy > *, .hero .art { animation: appear .65s ease both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero .art { animation-delay: .12s; }
@keyframes appear { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
    .pagehead-grid { grid-template-columns: 1fr; gap: 14px; }
    .navin { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand cta" "nav nav"; gap: 12px 18px; padding-top: 13px; padding-bottom: 13px; }
    .brand { grid-area: brand; }
    .nav nav { grid-area: nav; overflow-x: auto; justify-content: flex-start; padding-bottom: 2px; white-space: nowrap; }
    .nav nav a { flex: 0 0 auto; }
    .cta { white-space: nowrap; }
    .hero-grid { grid-template-columns: 1fr; gap: 38px; }
    .hero-copy { max-width: 720px; }
    .art { min-height: min(70vw, 520px); }
    .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .topin { align-items: flex-start; flex-direction: column; gap: 0; font-size: 12px; }
    .top span:last-child { display: none; }
    .brand b { font-size: 17px; }
    .brand-logo { width: 32px; height: 32px; }
    .nav nav { margin-inline: -4px; }
    .nav nav a { padding-inline: 9px; }
    .hero { padding-top: 48px; }
    .home-page .hero { padding-block: 38px; }
    .hero h1 { font-size: clamp(42px, 13vw, 60px); }
    .hero p { font-size: 16px; }
    .hero .actions { display: grid; grid-template-columns: 1fr 1fr; }
    .hero .actions a { text-align: center; padding-inline: 8px; }
    .art { min-height: 78vw; border-radius: 22px; }
    .section { padding: 58px 0; }
    .home-page > .section { padding-block: 34px; }
    .section-head { display: block; }
    .section-head p { margin-top: 14px; }
    .cards { grid-template-columns: 1fr; }
    .card { padding: 24px; }
    .greenpanel, .finder { border-radius: 17px; }
    .finder .search { display: grid; }
    .finder .search select, .finder .search button { width: 100%; }
    .pagehead { padding: 24px 20px; border-radius: 16px; }
    .pagehead--with-image { border-radius: 16px; }
    .pagehead--with-image::before { background-image: linear-gradient(90deg, rgba(0, 61, 64, .82), rgba(0, 61, 64, .68)), var(--pagehead-image); background-position: 58% center; }
    .pagehead .crumb { margin-bottom: 22px; font-size: 13px; }
    .pagehead h1 { font-size: clamp(24px, 7.1vw, 36px); }
    .pagehead-grid > p { padding-left: 14px; font-size: 16px; }
    .branch-grid { grid-template-columns: 1fr; }
    .branch-art { min-height: 180px; }
    .branch-map { min-height: 280px; }
    .article-body { padding: 24px; }
    .article-copy { font-size: 17px; }
    .tablewrap { margin-inline: -10px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
