/* 松迈口腔官网 - 主样式 */
:root {
    --primary: #0c4a7a;
    --primary-dark: #083456;
    --primary-light: #e8f2f9;
    --accent: #b8956b;
    --accent-dark: #96784f;
    --accent-light: #f7f2ea;
    --text: #1a2433;
    --text-muted: #5c6d80;
    --bg: #f8fafc;
    --bg-alt: #f1f5f9;
    --bg-section: #ffffff;
    --bg-warm: #faf8f5;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 1px 2px rgba(12, 40, 70, 0.04), 0 8px 24px rgba(12, 40, 70, 0.06);
    --shadow-md: 0 4px 16px rgba(12, 40, 70, 0.08), 0 20px 48px rgba(12, 40, 70, 0.06);
    --shadow-lg: 0 8px 32px rgba(12, 40, 70, 0.1), 0 32px 64px rgba(12, 40, 70, 0.08);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Noto Serif SC', 'Noto Sans SC', Georgia, serif;
    --transition: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    --header-h: 76px;
    --topbar-h: 38px;
    --masthead-h: calc(var(--topbar-h) + var(--header-h));
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font);
    color: var(--text);
    background-color: #dce8f5;
    background-image:
        radial-gradient(ellipse 100% 70% at 0% 0%, rgba(12, 74, 122, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 100% 10%, rgba(184, 149, 107, 0.08) 0%, transparent 45%),
        linear-gradient(165deg, #dce8f5 0%, #f8fafc 35%, #f1f5f9 70%, #edf2f9 100%),
        url('/static/images/bg/pattern-dots.svg');
    background-size: auto, auto, auto, 400px 400px;
    background-attachment: fixed, fixed, fixed, fixed;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

main {
    position: relative;
    z-index: 0;
    background: transparent;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
}

.logo:hover { color: var(--text); }

.logo-img { border-radius: 50%; }

.logo-icon { font-size: 2rem; }

.logo-text { display: flex; flex-direction: column; line-height: 1.3; }
.logo-text strong { font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.logo-text small { font-size: 0.75rem; color: var(--text-muted); }

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    padding: 8px 16px;
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-cta {
    background: var(--primary) !important;
    color: var(--white) !important;
    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
    color: var(--white) !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* Hero */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg-photo {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #003d7a 0%, #0052a3 50%, #0077cc 100%);
    transform: scale(1.02);
    animation: heroKenBurns 20s ease-in-out infinite alternate;
}

.hero-bg-photo .hero-bg-img,
.hero-bg-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

@keyframes heroKenBurns {
    from { transform: scale(1.02); }
    to { transform: scale(1.08); }
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(201, 169, 98, 0.15) 0%, transparent 55%),
        linear-gradient(105deg, rgba(0, 61, 122, 0.94) 0%, rgba(0, 82, 163, 0.82) 42%, rgba(0, 82, 163, 0.62) 68%, rgba(0, 119, 204, 0.45) 100%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    padding: 80px 24px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 800px;
}

.hero-summary {
    font-size: 1.125rem;
    opacity: 0.92;
    max-width: 680px;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 600px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stats strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
}

.hero-stats span {
    font-size: 0.8125rem;
    opacity: 0.85;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: var(--accent);
    color: var(--text);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: #b8994f;
    border-color: #b8994f;
    color: var(--text);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.btn-secondary {
    background: var(--primary);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* Sections */
.section { padding: 80px 0; position: relative; }

.section-alt {
    background-color: var(--bg-alt);
    background-image:
        url('/static/images/bg/pattern-wave.svg'),
        linear-gradient(180deg, #dbe8f6 0%, #e3ecf7 50%, #edf2f9 100%);
    background-size: 320px 320px, 100% 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.0625rem;
}

.page-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #0077cc 100%);
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 72px 0;
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(201, 169, 98, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.08) 0%, transparent 35%);
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero-sm { padding: 48px 0; text-align: left; }
.page-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.page-hero p { opacity: 0.92; font-size: 1.0625rem; max-width: 640px; margin: 0 auto; }

.breadcrumb {
    font-size: 0.875rem;
    margin-bottom: 16px;
    opacity: 0.85;
}

.breadcrumb a { color: rgba(255,255,255,0.9); }

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all var(--transition);
    color: var(--text);
    display: block;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    color: var(--text);
}

.service-card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.service-card-img,
.service-card picture,
.service-card picture img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius);
    margin: -28px -28px 16px;
    background: var(--bg-alt);
}
.service-card h3 { font-size: 1.125rem; margin-bottom: 8px; color: var(--primary); }
.service-card p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 12px; }

.consult-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 6px;
}

.consult-notice {
    margin: 16px 0 24px;
    padding: 12px 16px;
    background: var(--primary-light);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    color: var(--primary-dark);
}

.consult-notice a {
    color: var(--primary);
    font-weight: 600;
}

.price-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-light);
    color: #8b6914;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 6px;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-item {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.feature-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 16px;
}

.feature-item h3 { font-size: 1.25rem; margin-bottom: 8px; }
.feature-item p { color: var(--text-muted); font-size: 0.9375rem; }

/* Case Grid */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.case-grid-full { grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; }

.case-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
    overflow: hidden;
}

.case-card-img {
    width: calc(100% + 56px);
    height: 160px;
    object-fit: cover;
    margin: -28px -28px 16px;
    border-radius: var(--radius) var(--radius) 0 0;
    background: var(--bg-alt);
}

.about-photo {
    margin: 0 0 16px;
}
.about-photo img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--bg-alt);
}
.about-photo picture,
.about-photo picture img,
.about-photo-img {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--bg-alt);
}

.hero-bg-placeholder {
    object-fit: cover;
    object-position: center;
    opacity: 0.9;
}

.case-card-lg { padding: 36px; }

.case-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.8125rem;
    border-radius: 6px;
    margin-bottom: 12px;
}

.case-card h2, .case-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.case-card h2 a, .case-card h3 a { color: var(--text); }
.case-card p { color: var(--text-muted); font-size: 0.9375rem; margin-bottom: 8px; }

.case-card blockquote, .case-quote {
    margin: 16px 0;
    padding: 16px 20px;
    background: var(--accent-light);
    border-left: 3px solid var(--accent);
    font-style: italic;
    color: var(--text);
    border-radius: 0 8px 8px 0;
}

.read-more {
    display: inline-block;
    margin-top: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
}

/* Store Grid */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.store-grid-full { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }

.store-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.store-card > .store-card-img {
    width: calc(100% + 56px);
    margin: -28px -28px 16px;
}

.store-card-lg { padding: 32px; }

.hq-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    border-radius: 6px;
}

.store-card h2, .store-card h3 { font-size: 1.125rem; margin-bottom: 8px; }
.store-card h2 a, .store-card h3 a { color: var(--primary); }

.store-district { color: var(--accent); font-weight: 600; font-size: 0.875rem; margin-bottom: 8px; }
.store-address { font-size: 0.9375rem; margin-bottom: 8px; }
.store-specialty { font-size: 0.875rem; color: var(--text-muted); margin: 12px 0; }

.store-card .btn { margin-top: 12px; margin-right: 8px; }

/* CTA Section */
.cta-section {
    background:
        linear-gradient(135deg, rgba(0, 61, 122, 0.94) 0%, rgba(0, 82, 163, 0.9) 50%, rgba(0, 119, 204, 0.88) 100%),
        url('/static/images/equipment-cbct.jpg') center center / cover no-repeat;
    padding: 36px 0 28px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 50%, rgba(201, 169, 98, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.cta-inner h2 { font-size: 1.75rem; margin-bottom: 8px; }
.cta-inner p { opacity: 0.9; }

/* Content Page Layout */
.content-page {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.content-main { min-width: 0; }

.geo-block {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
}

.geo-block h2 {
    font-size: 1.375rem;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-light);
}

.geo-definition {
    padding: 16px 20px;
    background: var(--primary-light);
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 0.9375rem;
    line-height: 1.8;
}

.content-text { line-height: 1.9; color: var(--text); }

.trust-list { list-style: none; }
.trust-list li { padding: 10px 0; border-bottom: 1px solid var(--border); }

.info-dl dt {
    font-weight: 600;
    color: var(--primary);
    margin-top: 16px;
    margin-bottom: 4px;
}

.info-dl dd { color: var(--text-muted); }

.feature-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tags li {
    padding: 8px 16px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 8px;
    font-size: 0.9375rem;
}

/* Sidebar */
.content-sidebar { position: sticky; top: calc(var(--topbar-h) + var(--header-h) + 16px); }

.sidebar-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.sidebar-card h3 {
    font-size: 1.0625rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.cert-list { list-style: none; }
.cert-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
}

.cert-list strong { display: block; margin-bottom: 4px; }
.cert-list span { color: var(--text-muted); font-size: 0.8125rem; }

.sidebar-store {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
}

.sidebar-link {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
}

.cta-card { text-align: center; }

/* FAQ */
.faq-section { margin-bottom: 48px; }
.faq-section h2 { font-size: 1.375rem; margin-bottom: 20px; color: var(--primary); }

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-item summary {
    padding: 18px 24px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--primary);
    transition: transform var(--transition);
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
    padding: 0 24px 18px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Service List */
.category-block { margin-bottom: 56px; }
.category-title { font-size: 1.5rem; color: var(--primary); margin-bottom: 8px; }
.category-icon { margin-right: 8px; font-size: 1.25rem; vertical-align: middle; }
.category-desc { color: var(--text-muted); margin-bottom: 24px; }

.service-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.service-list-item {
    display: block;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--text);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.service-list-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    color: var(--text);
}

.service-list-item h3 { color: var(--primary); margin-bottom: 8px; font-size: 1.0625rem; }
.service-list-img,
.service-list-item picture,
.service-list-item picture img {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 12px;
    background: var(--bg-alt);
}
.service-list-item p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 12px; }

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

.contact-form-wrap {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.contact-form-wrap h2 { margin-bottom: 24px; color: var(--primary); }

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-message {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
}

.info-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.info-card h3 { color: var(--primary); margin-bottom: 16px; }

.info-card dl dt { font-weight: 600; margin-top: 12px; font-size: 0.875rem; color: var(--text-muted); }
.info-card dl dd { font-size: 1rem; }

.contact-store-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.contact-store-item strong { display: block; color: var(--primary); margin-bottom: 4px; }
.contact-store-item p { font-size: 0.875rem; color: var(--text-muted); }

/* Footer */
.site-footer {
    background: #0a1628;
    color: rgba(255, 255, 255, 0.85);
    padding: 64px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9375rem; line-height: 1.8; opacity: 0.85; }
.footer-meta { margin-top: 12px; font-size: 0.875rem; opacity: 0.7; }

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 0;
    font-size: 0.9375rem;
}

.footer-links a:hover { color: var(--accent); }

.footer-contact p { font-size: 0.9375rem; padding: 4px 0; opacity: 0.85; }

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer-bottom a { color: rgba(255, 255, 255, 0.7); }

/* Float Phone */
.float-phone {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    background: var(--accent);
    color: var(--text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: transform var(--transition);
}

.float-phone:hover {
    transform: scale(1.1);
    color: var(--text);
}

/* Topic / GEO cards */
.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.topic-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.topic-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.topic-card-img,
.topic-card picture,
.topic-card picture img,
.geo-high-card-img,
.geo-high-card picture,
.geo-high-card picture img {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: calc(var(--radius) - 4px);
    margin-bottom: 12px;
    background: var(--bg-alt);
}

.topic-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 12px;
}

.topic-card h2, .topic-card h3 {
    font-size: 1.0625rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.topic-card h2 a, .topic-card h3 a { color: var(--text); }
.topic-card h2 a:hover, .topic-card h3 a:hover { color: var(--primary); }

.topic-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Hot keyword list */
.hot-keyword-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 900px;
    margin: 0 auto;
}

.hot-keyword-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--text);
    transition: var(--transition);
}

.hot-keyword-item:hover {
    border-left: 4px solid var(--primary);
    color: var(--primary);
    transform: translateX(4px);
}

.hot-rank {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.hot-kw { flex: 1; font-weight: 600; }
.hot-heat, .hot-vol, .heat-badge, .vol-badge, .geo-badge {
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
}
.hot-heat, .heat-badge { background: #fff3cd; color: #856404; }
.hot-vol, .vol-badge { background: var(--primary-light); color: var(--primary); }
.geo-badge { background: #d4edda; color: #155724; }

.section-geo-high {
    background:
        url('/static/images/bg/pattern-medical.svg'),
        linear-gradient(180deg, #e8f2fc 0%, var(--bg) 100%);
    background-size: 120px 120px, 100% 100%;
    border-top: 1px solid var(--primary-light);
    border-bottom: 1px solid var(--primary-light);
}
.geo-high-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.geo-high-card {
    display: block;
    background: var(--white);
    border: 1px solid #c3e6cb;
    border-left: 4px solid #28a745;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.geo-high-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.geo-high-card h3 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin: 10px 0 8px;
}
.geo-high-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 10px;
}
.faq-topic-link {
    margin-top: 8px;
    font-size: 0.875rem;
}
.faq-topic-link a { color: var(--primary); font-weight: 600; }
.geo-faq-schema .faq-item { margin-bottom: 12px; }

.topic-search-form {
    display: flex;
    gap: 12px;
    max-width: 640px;
    margin: 24px auto 0;
}
.topic-search-form input[type="search"] {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
}
.store-hero-img, .case-hero-img, .service-hero-img,
.store-hero-img picture img, .case-hero-img picture img, .service-hero-img picture img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 24px;
    background: var(--bg-alt);
}
.service-hero-figure { margin: 0 0 8px; }
.service-hero-figure picture { display: block; }
.topic-hero-figure { margin: 0 0 20px; }
.topic-hero-figure picture { display: block; }
.topic-hero-img,
.topic-hero-img picture img {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--bg-alt);
}
.case-card-lg .case-thumb {
    margin: -36px -36px 16px;
    width: calc(100% + 72px);
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
    background: var(--bg-alt);
}
.map-links-inline { font-size: 0.875rem; margin-top: 4px; }
.map-links-inline a { color: var(--primary); }

.store-card-lg .store-card-img {
    margin: -32px -32px 16px;
    width: calc(100% + 64px);
}
.store-card-img {
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
    background: var(--bg-alt);
}

.map-btn-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.map-btn-inline { margin-top: 16px; }
.btn-map { background: #f0f7ff; color: var(--primary); border: 1px solid var(--primary-light); }
.btn-map:hover { background: var(--primary-light); }
.error-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; justify-content: center; }
.cert-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.cert-thumb,
.cert-item picture,
.cert-item picture img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 6px;
    background: #f5f8fc;
    flex-shrink: 0;
}
.cert-item picture { display: block; }

.topic-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.topic-section { margin-bottom: 56px; }
.topic-section-title { font-size: 1.375rem; color: var(--primary); margin-bottom: 24px; }
.topic-hero-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

/* GEO markdown tables */
.geo-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.9375rem;
}
.geo-table th, .geo-table td {
    border: 1px solid var(--border);
    padding: 12px 16px;
    text-align: left;
}
.geo-table th {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 600;
}
.geo-table tr:nth-child(even) { background: var(--bg-alt); }

.geo-content-body h2 {
    font-size: 1.25rem;
    color: var(--primary);
    margin: 28px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
}
.geo-content-body h3 { font-size: 1.0625rem; margin: 20px 0 12px; }
.geo-content-body p { margin-bottom: 12px; line-height: 1.8; }
.geo-content-body ul { margin: 12px 0 12px 24px; }
.geo-content-body li { margin-bottom: 8px; line-height: 1.7; }

/* Price hub */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.price-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--accent);
}
.price-card h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.price-card h3 a { color: var(--primary); }
.price-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    margin: 8px 0 12px;
}
.price-summary { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 16px; }

/* Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.875rem; }
.mt-16 { margin-top: 16px; }
.mt-40 { margin-top: 40px; }

/* Responsive */
@media (max-width: 992px) {
    .content-page,
    .contact-layout { grid-template-columns: 1fr; }
    .content-sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .cta-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }

    .main-nav {
        position: fixed;
        top: calc(var(--topbar-h) + var(--header-h));
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
    }

    .main-nav a { width: 100%; text-align: center; }
    .main-nav a.active::after { display: none; }

    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
    .hero { min-height: auto; }
    .hero-content { padding: 56px 24px; }
    .float-phone-label { display: none; }
    .top-bar-hide-mobile { display: none; }
    body { background-attachment: scroll, scroll; }
    .hero-bg-photo { animation: none; }
}

/* ===== UI Enhancements v2 ===== */

.top-bar {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.8125rem;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.top-bar-item a {
    color: var(--accent);
    font-weight: 600;
}

.top-bar-item a:hover { color: #e8d5a0; }

.icon-sm { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.85; }

.site-header {
    transition: box-shadow var(--transition), background var(--transition);
}

.site-header.is-scrolled {
    box-shadow: 0 4px 24px rgba(0, 52, 102, 0.12);
    background: rgba(255, 255, 255, 0.98);
}

.logo-img {
    box-shadow: 0 2px 12px rgba(0, 82, 163, 0.2);
    transition: transform var(--transition);
}

.logo:hover .logo-img { transform: scale(1.05); }

.main-nav a {
    position: relative;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.nav-cta.active::after { display: none; }

.btn-accent {
    background: var(--accent);
    color: var(--text);
    border: 2px solid var(--accent);
}

.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-dark:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.section-label {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 14px;
}

.section-label-accent {
    background: var(--accent-light);
    color: var(--accent-dark);
}

.section-header .section-label { margin-bottom: 16px; }

.hero-content::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

.hero-badge {
    backdrop-filter: blur(8px);
    animation: fadeInUp 0.6s ease both;
}

.hero h1 { animation: fadeInUp 0.6s 0.1s ease both; }
.hero-summary { animation: fadeInUp 0.6s 0.2s ease both; }
.hero-actions { animation: fadeInUp 0.6s 0.3s ease both; }
.hero-stats { animation: fadeInUp 0.6s 0.4s ease both; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.trust-strip {
    background:
        url('/static/images/bg/pattern-medical.svg'),
        linear-gradient(180deg, #fff 0%, #f8fbff 100%);
    background-size: 120px 120px, 100% 100%;
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    box-shadow: var(--shadow);
}

.trust-strip-inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px 48px;
}

.trust-strip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
}

.trust-strip-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-light), #fff);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-light), #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 16px;
    transition: transform var(--transition);
}

.service-card:hover .service-card-icon {
    transform: scale(1.08) rotate(-3deg);
}

.feature-item {
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-num {
    background: linear-gradient(135deg, var(--primary), #0077cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.case-card {
    border-left: none;
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
}

.case-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--accent), var(--primary));
    border-radius: 0 4px 4px 0;
    transition: height var(--transition);
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.case-card:hover::after { height: 100%; }

.store-card {
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.store-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.hq-badge {
    z-index: 2;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    box-shadow: 0 2px 8px rgba(201, 169, 98, 0.4);
}

.store-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 12px 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.store-meta-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.store-meta-icon {
    width: 18px;
    text-align: center;
    flex-shrink: 0;
    color: var(--primary);
}

.topic-card {
    position: relative;
    overflow: hidden;
}

.topic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity var(--transition);
}

.topic-card:hover::before { opacity: 1; }

.geo-block {
    border: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.geo-block:hover { box-shadow: var(--shadow-md); }

.sidebar-card {
    border: 1px solid var(--border);
}

.sidebar-card h3 {
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-light);
}

.cta-card {
    background: linear-gradient(160deg, var(--primary-light) 0%, var(--white) 100%);
    border-color: var(--primary-light);
}

.faq-item {
    border: 1px solid var(--border);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item[open] {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.faq-item summary {
    transition: background var(--transition);
}

.faq-item[open] summary {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.contact-form-wrap {
    border: 1px solid var(--border);
}

.info-card {
    border: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.info-card:hover { box-shadow: var(--shadow-md); }

.price-card {
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.hot-keyword-item {
    border: 1px solid var(--border);
}

.hot-keyword-item:hover {
    box-shadow: var(--shadow-md);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo h3 { margin: 0; }

.footer-cta { margin-top: 20px; }

.footer-contact a {
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact a:hover { color: var(--accent); }

.float-phone {
    flex-direction: column;
    width: auto;
    min-width: 56px;
    height: 56px;
    padding: 0 16px;
    border-radius: 28px;
    gap: 2px;
}

.float-phone-label {
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1;
}

.float-phone:hover {
    width: auto;
    padding: 0 20px;
}

.page-hero-sm .geo-definition {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
    margin-top: 16px;
    text-align: left;
    backdrop-filter: blur(8px);
}

.page-hero-sm .geo-definition strong { color: var(--accent); }

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    margin-bottom: 16px;
}

.case-detail h2 {
    font-size: 1.125rem;
    color: var(--primary);
    margin: 24px 0 10px;
    padding-left: 12px;
    border-left: 3px solid var(--accent);
}

.case-detail .btn-outline {
    color: var(--primary);
    border-color: var(--primary);
    background: transparent;
}

.case-detail .btn-outline:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.map-actions h3 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.category-block {
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 32px;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-title::before {
    content: '';
    width: 4px;
    height: 28px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.error-page {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-code {
    font-size: clamp(5rem, 15vw, 8rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.error-page .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.error-page .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.menu-toggle span { transition: var(--transition); }

/* ===== Page & Section Backgrounds ===== */

.page-hero--about {
    background-image:
        linear-gradient(135deg, rgba(0, 61, 122, 0.9) 0%, rgba(0, 82, 163, 0.82) 100%),
        url('/static/images/team.jpg');
    background-position: center, center 20%;
}

.page-hero--contact {
    background-image:
        linear-gradient(135deg, rgba(0, 61, 122, 0.91) 0%, rgba(0, 119, 204, 0.85) 100%),
        url('/static/images/stores/jingan-zhijiang.jpg');
    background-position: center, center;
}

.page-hero--services {
    background-image:
        linear-gradient(135deg, rgba(0, 61, 122, 0.9) 0%, rgba(0, 82, 163, 0.84) 100%),
        url('/static/images/equipment-cbct.jpg');
    background-position: center, center;
}

.page-hero--stores {
    background-image:
        linear-gradient(135deg, rgba(0, 61, 122, 0.9) 0%, rgba(0, 82, 163, 0.82) 100%),
        url('/static/images/stores/pudong-songbei.jpg');
    background-position: center, center 40%;
}

.page-hero--cases {
    background-image:
        linear-gradient(135deg, rgba(0, 61, 122, 0.88) 0%, rgba(0, 82, 163, 0.8) 100%),
        url('/static/images/cases/case-full-implant-49.jpg');
    background-position: center, center 30%;
}

.page-hero--faq,
.page-hero--topics,
.page-hero--prices,
.page-hero--error {
    background-image:
        linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #0077cc 100%),
        url('/static/images/bg/pattern-wave.svg');
    background-size: cover, 320px 320px;
}

.page-CaseStudy .page-hero-sm,
.page-Store .page-hero-sm,
.page-Service .page-hero-sm,
.page-Topic .page-hero-sm {
    background-image:
        linear-gradient(135deg, rgba(0, 61, 122, 0.93) 0%, rgba(0, 82, 163, 0.88) 100%),
        url('/static/images/bg/pattern-dots.svg');
    background-size: cover, 400px 400px;
}

.faq-list--home {
    max-width: 800px;
    margin: 0 auto;
}

.page-Index .section:not(.section-alt) {
    background-image: url('/static/images/bg/pattern-dots.svg');
    background-size: 400px 400px;
    background-position: center top;
}

.contact-form-wrap {
    background:
        linear-gradient(160deg, #fff 0%, #f8fbff 100%);
}

.page-hero-sm { text-align: left; }
.page-hero-sm p { margin: 0; max-width: none; }

/* ===== Frontend Polish v4 ===== */

::selection {
    background: rgba(0, 82, 163, 0.16);
    color: var(--text);
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.section-header .section-label::after {
    content: '';
    display: block;
    width: 36px;
    height: 3px;
    margin: 10px auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.section-header .section-label-accent::after {
    background: linear-gradient(90deg, var(--accent), var(--primary));
}

.hero-stats {
    border-top: none;
    padding-top: 0;
}

.hero-stats > div {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    padding: 18px 12px;
    text-align: center;
    transition: transform var(--transition), background var(--transition);
}

.hero-stats > div:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.18);
}

.trust-strip-item {
    background: rgba(255, 255, 255, 0.92);
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.trust-strip-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.case-card-img {
    transition: transform 0.5s ease;
}

.case-card:hover .case-card-img {
    transform: scale(1.04);
}

.store-card-img {
    transition: transform 0.5s ease;
    border-radius: var(--radius) var(--radius) 0 0;
}

.store-card:hover .store-card-img {
    transform: scale(1.03);
}

.category-block {
    padding-bottom: 48px;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--border);
}

.category-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.category-title::before {
    content: '';
    width: 4px;
    height: 1.4em;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--accent), var(--primary));
    flex-shrink: 0;
}

.service-list-item {
    position: relative;
    overflow: hidden;
}

.service-list-item::after {
    content: '→';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    opacity: 0;
    color: var(--primary);
    font-weight: 700;
    transition: all var(--transition);
}

.service-list-item:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.faq-section h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.375rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.faq-section h2::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-light);
}

.faq-item {
    border-radius: 12px;
    overflow: hidden;
}

.faq-item[open] {
    border-left: 4px solid var(--primary);
}

.geo-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.9375rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.geo-content-body th,
.geo-content-body td {
    padding: 12px 16px;
    border: 1px solid var(--border);
    text-align: left;
}

.geo-content-body th {
    background: linear-gradient(180deg, var(--primary-light), #fff);
    color: var(--primary-dark);
    font-weight: 700;
}

.geo-content-body tr:nth-child(even) td {
    background: var(--bg-alt);
}

.geo-content-body blockquote {
    margin: 20px 0;
    padding: 16px 20px;
    background: var(--accent-light);
    border-left: 4px solid var(--accent);
    border-radius: 0 10px 10px 0;
    color: var(--text);
}

.geo-content-body strong {
    color: var(--primary-dark);
}

.content-sidebar {
    position: sticky;
    top: calc(var(--header-h) + var(--topbar-h) + 16px);
}

.sidebar-card {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition);
}

.sidebar-card:hover {
    box-shadow: var(--shadow-md);
}

.sidebar-link {
    display: block;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 0.9375rem;
    transition: padding-left var(--transition), color var(--transition);
}

.sidebar-link:hover {
    padding-left: 6px;
    color: var(--primary-dark);
}

.read-more {
    transition: gap var(--transition);
}

.read-more:hover {
    letter-spacing: 0.02em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 82, 163, 0.12);
}

.info-card {
    border-radius: var(--radius);
    background: linear-gradient(160deg, #fff 0%, #f8fbff 100%);
}

.info-card h3 {
    color: var(--primary);
    font-size: 1.125rem;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
}

.topic-search-form {
    display: flex;
    gap: 10px;
    max-width: 480px;
    margin-top: 20px;
}

.topic-search-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.9375rem;
}

.topic-search-form input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/static/images/bg/pattern-medical.svg');
    background-size: 100px 100px;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}

.float-phone {
    overflow: visible;
}

.float-phone::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(0, 82, 163, 0.35);
    animation: phonePulse 2.5s ease-out infinite;
    pointer-events: none;
}

@keyframes phonePulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 82, 163, 0.35); }
    70% { box-shadow: 0 0 0 12px rgba(0, 82, 163, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 82, 163, 0); }
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

.geo-high-card {
    transition: transform var(--transition), box-shadow var(--transition);
}

.geo-high-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.section-geo-high {
    background:
        linear-gradient(180deg, rgba(248, 242, 228, 0.5) 0%, var(--bg) 100%),
        url('/static/images/bg/pattern-wave.svg');
    background-size: 100% 100%, 280px 280px;
}

.breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 0.8125rem;
}

body.nav-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-strip-inner {
        gap: 12px;
    }

    .trust-strip-item {
        font-size: 0.8125rem;
        padding: 8px 14px;
    }

    .service-list-item::after {
        display: none;
    }

    .content-sidebar {
        position: static;
    }
}

/* Global FX v7 — all pages */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    z-index: 10000;
    pointer-events: none;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    box-shadow: 0 0 12px rgba(0, 82, 163, 0.35);
}

.reveal.reveal-from-left {
    transform: translate3d(-28px, 24px, 0);
}

.reveal.reveal-from-right {
    transform: translate3d(28px, 24px, 0);
}

.reveal.reveal-from-left.is-visible,
.reveal.reveal-from-right.is-visible {
    transform: translate3d(0, 0, 0);
}

.reveal-delay-0 { transition-delay: 0s; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.page-hero-animate .page-hero-content > * {
    opacity: 0;
    animation: fadeInUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.page-hero-animate .page-hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.page-hero-animate .page-hero-content > *:nth-child(2) { animation-delay: 0.12s; }
.page-hero-animate .page-hero-content > *:nth-child(3) { animation-delay: 0.19s; }
.page-hero-animate .page-hero-content > *:nth-child(4) { animation-delay: 0.26s; }
.page-hero-animate .page-hero-content > *:nth-child(5) { animation-delay: 0.33s; }

.section.reveal.is-visible .section-header {
    animation: fadeInUp 0.55s ease both;
}

.fx-enabled .cta-section.reveal.is-visible .cta-inner {
    animation: fadeInUp 0.6s ease both;
}

.fx-enabled .btn-primary,
.fx-enabled .btn-white,
.fx-enabled .nav-cta {
    position: relative;
    overflow: hidden;
}

.fx-enabled .btn-primary::after,
.fx-enabled .btn-white::after,
.fx-enabled .nav-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
    transform: translateX(-120%);
    transition: transform 0.55s ease;
    pointer-events: none;
}

.fx-enabled .btn-primary:hover::after,
.fx-enabled .btn-white:hover::after,
.fx-enabled .nav-cta:hover::after {
    transform: translateX(120%);
}

.fx-enabled .trust-strip-item {
    transition: transform var(--transition);
}

.fx-enabled .trust-strip-item:hover {
    transform: translateY(-2px);
}

.fx-enabled .faq-item {
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.fx-enabled .faq-item[open] {
    transform: translateY(-1px);
}

.fx-enabled .sidebar-link {
    transition: padding-left var(--transition), color var(--transition), background var(--transition);
}

.fx-enabled .sidebar-link:hover {
    padding-left: 6px;
}

.fx-enabled .read-more {
    transition: gap var(--transition), color var(--transition);
}

.fx-enabled .geo-block.reveal.is-visible {
    box-shadow: var(--shadow);
}

.fx-enabled .site-footer.reveal {
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fx-enabled .float-phone {
    transition: transform var(--transition), box-shadow var(--transition);
}

.fx-enabled .float-phone:hover {
    transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
    .reveal, .hero-badge, .hero h1, .hero-summary, .hero-actions, .hero-stats {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .reveal { transition: none; }
    .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
    .hero-bg-photo { animation: none; transform: none; }
    .float-phone::before { animation: none; }
    .scroll-progress { display: none; }
    .page-hero-animate .page-hero-content > * { animation: none; opacity: 1; transform: none; }
    .fx-enabled .btn-primary::after,
    .fx-enabled .btn-white::after,
    .fx-enabled .nav-cta::after { display: none; }
    .fx-enabled .float-phone:hover { transform: none; }
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.captcha-question {
    display: inline-flex;
    align-items: center;
    min-width: 88px;
    padding: 10px 14px;
    border-radius: var(--radius);
    background: var(--bg-alt);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.captcha-row input[type="number"] {
    flex: 1;
    min-width: 120px;
    max-width: 160px;
}
