/* ================================
   富怡远程健康服务网 - 主样式表
   配色：医疗专业蓝绿
   ================================ */

/* ===== 设计变量 ===== */
:root {
    /* 主色 - 医疗信任蓝 */
    --c-primary: #0E7490;        /* cyan-700 */
    --c-primary-dark: #155e75;  /* cyan-800 */
    --c-primary-light: #06b6d4;  /* cyan-500 */

    /* 辅助色 - 健康活力绿 */
    --c-accent: #047857;        /* emerald-700 */
    --c-accent-light: #10b981;  /* emerald-500 */

    /* 中性色 */
    --c-dark: #0f172a;          /* slate-900 */
    --c-text: #1e293b;           /* slate-800 */
    --c-text-soft: #475569;     /* slate-600 */
    --c-muted: #64748b;          /* slate-500 */
    --c-line: #e2e8f0;           /* slate-200 */
    --c-bg: #f8fafc;             /* slate-50 */
    --c-bg-alt: #f1f5f9;        /* slate-100 */
    --c-white: #ffffff;

    /* 渐变 */
    --grad-primary: linear-gradient(135deg, #0E7490 0%, #047857 100%);
    --grad-soft: linear-gradient(135deg, #ecfeff 0%, #ecfdf5 100%);

    /* 阴影 */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.1), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 20px 40px -8px rgba(14, 116, 144, 0.18);

    /* 圆角 */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;

    /* 容器 */
    --container: 1200px;

    /* 字体 */
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
            "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ===== 重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    color: var(--c-text);
    line-height: 1.7;
    background: var(--c-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

/* ===== 容器 ===== */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 通用按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .02em;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    cursor: pointer;
}
.btn--primary {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: 0 8px 20px -6px rgba(14, 116, 144, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -6px rgba(14, 116, 144, 0.65); }
.btn--ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.2); border-color: #fff; }

/* ===== 顶部公告条 ===== */
.top-bar {
    background: var(--c-primary-dark);
    color: #cbe9f0;
    font-size: 13px;
    padding: 8px 0;
}
.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.top-bar__contact { display: flex; gap: 20px; }
.top-bar__contact a:hover { color: #fff; }

/* ===== 头部导航 ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--c-line);
    transition: box-shadow .3s ease, background .3s ease;
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__mark { display: block; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text strong { font-size: 18px; font-weight: 800; color: var(--c-primary-dark); letter-spacing: .01em; }
.logo__text small { font-size: 10px; letter-spacing: .15em; color: var(--c-muted); font-weight: 600; }
.logo--light .logo__text strong { color: #fff; }
.logo--light .logo__text small { color: rgba(255, 255, 255, 0.65); }

/* Nav */
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
    position: relative;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--c-text);
    border-radius: var(--r-sm);
    transition: color .2s ease, background .2s ease;
}
.nav__link:hover { color: var(--c-primary); background: rgba(14, 116, 144, 0.06); }
.nav__link.active { color: var(--c-primary); }
.nav__link.active::after {
    content: '';
    position: absolute;
    left: 14px; right: 14px; bottom: 4px;
    height: 2px;
    background: var(--grad-primary);
    border-radius: 2px;
}
.nav__link--cta {
    background: var(--grad-primary);
    color: #fff !important;
    padding: 10px 22px;
    margin-left: 8px;
    box-shadow: 0 6px 14px -4px rgba(14, 116, 144, 0.5);
}
.nav__link--cta:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -4px rgba(14, 116, 144, 0.6); }
.nav__link--cta::after { display: none; }

/* 移动端菜单按钮 */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    border-radius: var(--r-sm);
}
.nav-toggle span {
    width: 22px; height: 2px;
    background: var(--c-text);
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__bg img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(8, 47, 73, 0.85) 0%, rgba(6, 78, 59, 0.7) 100%),
        radial-gradient(circle at 75% 25%, rgba(6, 182, 212, 0.25), transparent 50%);
}
.hero__inner { position: relative; z-index: 1; padding: 80px 0; }
.hero__content { max-width: 640px; }
.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: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .05em;
    backdrop-filter: blur(8px);
    margin-bottom: 24px;
}
.hero__title {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: 20px;
}
.hero__title-accent {
    background: linear-gradient(120deg, #67e8f9 0%, #6ee7b7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero__desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 540px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__stats {
    display: flex;
    gap: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 30px; font-weight: 800; line-height: 1; }
.hero__stats span { font-size: 13px; color: rgba(255, 255, 255, 0.75); margin-top: 6px; }

.hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    width: 28px; height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    z-index: 2;
}
.hero__scroll span {
    position: absolute;
    left: 50%; top: 8px;
    transform: translateX(-50%);
    width: 4px; height: 8px;
    background: #fff;
    border-radius: 2px;
    animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot {
    0% { opacity: 0; transform: translate(-50%, 0); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, 18px); }
}

/* ===== 快捷导航 ===== */
.quick-nav {
    background: var(--c-white);
    padding: 0;
    margin-top: -48px;
    position: relative;
    z-index: 5;
}
.quick-nav__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    background: #fff;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.quick-nav__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 20px;
    border-right: 1px solid var(--c-line);
    transition: background .2s ease;
}
.quick-nav__item:last-child { border-right: 0; }
.quick-nav__item:hover { background: var(--grad-soft); }
.quick-nav__icon {
    font-size: 28px;
    width: 48px; height: 48px;
    display: grid;
    place-items: center;
    background: var(--grad-soft);
    border-radius: var(--r-sm);
    flex-shrink: 0;
}
.quick-nav__item strong { display: block; font-size: 15px; font-weight: 700; color: var(--c-text); }
.quick-nav__item small { font-size: 12px; color: var(--c-muted); }

/* ===== 通用 section ===== */
.section { padding: 96px 0; position: relative; }
.section--alt { background: var(--c-bg); }
.section--dark {
    background: linear-gradient(135deg, #0f172a 0%, #134e4a 100%);
    color: #fff;
}
.section__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section__eyebrow {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(14, 116, 144, 0.1);
    color: var(--c-primary);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.section__eyebrow--light { background: rgba(255, 255, 255, 0.15); color: #6ee7b7; }
.section__title {
    font-size: clamp(28px, 3.4vw, 38px);
    font-weight: 800;
    color: var(--c-dark);
    letter-spacing: -.01em;
    line-height: 1.25;
    margin-bottom: 16px;
}
.section__title--light { color: #fff; }
.section__subtitle {
    font-size: 16px;
    color: var(--c-text-soft);
    line-height: 1.8;
}
.section--dark .section__subtitle { color: rgba(255, 255, 255, 0.78); }

/* ===== 远程健康管理 ===== */
.remote {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}
.remote__visual { position: relative; }
.remote__visual img {
    width: 100%;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.remote__visual-badge {
    position: absolute;
    right: -16px;
    bottom: 28px;
    background: #fff;
    padding: 18px 24px;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border-left: 4px solid var(--c-primary);
}
.remote__visual-badge strong { display: block; font-size: 26px; color: var(--c-primary); font-weight: 800; }
.remote__visual-badge span { font-size: 12px; color: var(--c-muted); }

.remote__title {
    font-size: 26px;
    font-weight: 700;
    color: var(--c-dark);
    margin-bottom: 16px;
}
.remote__text { color: var(--c-text-soft); margin-bottom: 28px; }
.remote__features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }
.remote__features li { display: flex; gap: 12px; align-items: flex-start; }
.remote__feature-ico {
    flex-shrink: 0;
    width: 24px; height: 24px;
    display: grid; place-items: center;
    background: var(--grad-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    margin-top: 2px;
}
.remote__features strong { display: block; font-size: 15px; color: var(--c-dark); margin-bottom: 4px; }
.remote__features p { font-size: 13px; color: var(--c-muted); line-height: 1.6; }

.remote__flow h4 { font-size: 14px; color: var(--c-dark); margin-bottom: 14px; font-weight: 700; }
.flow { display: flex; gap: 8px; flex-wrap: wrap; }
.flow li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--c-bg-alt);
    border-radius: var(--r-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text);
}
.flow li span {
    width: 24px; height: 24px;
    background: var(--grad-primary);
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 11px;
}

/* ===== 健康咨询 ===== */
.consult { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.consult__feature {
    background: #fff;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform .25s ease, box-shadow .25s ease;
}
.consult__feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.consult__feature img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.consult__feature-body { padding: 28px; }
.consult__feature-body .tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(4, 120, 87, 0.1);
    color: var(--c-accent);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
}
.consult__feature-body h3 { font-size: 22px; font-weight: 700; color: var(--c-dark); margin-bottom: 12px; }
.consult__feature-body p { color: var(--c-text-soft); margin-bottom: 16px; }
.link-more { color: var(--c-primary); font-weight: 600; }
.link-more:hover { color: var(--c-primary-dark); }

.consult__list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.consult__card {
    background: #fff;
    padding: 22px;
    border-radius: var(--r-md);
    border: 1px solid var(--c-line);
    transition: all .25s ease;
    display: flex;
    flex-direction: column;
}
.consult__card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
.consult__cat {
    display: inline-block;
    align-self: flex-start;
    padding: 3px 10px;
    background: var(--grad-soft);
    color: var(--c-primary);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 12px;
}
.consult__card h4 { font-size: 16px; font-weight: 700; color: var(--c-dark); margin-bottom: 8px; line-height: 1.4; }
.consult__card p { font-size: 13px; color: var(--c-muted); flex: 1; margin-bottom: 14px; }
.consult__card time { font-size: 12px; color: var(--c-muted); }

/* ===== 医疗器械 ===== */
.tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 36px;
}
.tabs__btn {
    padding: 10px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    color: var(--c-text-soft);
    background: #fff;
    border: 1.5px solid var(--c-line);
    transition: all .2s ease;
}
.tabs__btn:hover { color: var(--c-primary); border-color: var(--c-primary); }
.tabs__btn.active {
    background: var(--grad-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 14px -4px rgba(14, 116, 144, 0.45);
}

.devices {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.device-card {
    background: #fff;
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-line);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}
.device-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.device-card__img { aspect-ratio: 1; overflow: hidden; background: var(--c-bg-alt); }
.device-card__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.device-card:hover .device-card__img img { transform: scale(1.05); }
.device-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.device-card__tag {
    display: inline-block;
    align-self: flex-start;
    padding: 3px 10px;
    background: rgba(14, 116, 144, 0.1);
    color: var(--c-primary);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
}
.device-card__tag--1 { background: rgba(4, 120, 87, 0.1); color: var(--c-accent); }
.device-card__body h3 { font-size: 17px; font-weight: 700; color: var(--c-dark); margin-bottom: 8px; }
.device-card__body > p { font-size: 13px; color: var(--c-muted); margin-bottom: 14px; flex: 1; }
.device-card__spec {
    border-top: 1px solid var(--c-line);
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.device-card__spec li {
    font-size: 12px;
    color: var(--c-text-soft);
    padding-left: 14px;
    position: relative;
}
.device-card__spec li::before {
    content: '';
    position: absolute;
    left: 0; top: 9px;
    width: 5px; height: 5px;
    background: var(--c-primary-light);
    border-radius: 50%;
}

.disclaimer {
    margin-top: 32px;
    padding: 14px 20px;
    background: rgba(245, 158, 11, 0.08);
    border-left: 3px solid #f59e0b;
    border-radius: var(--r-sm);
    font-size: 13px;
    color: #92400e;
}

/* ===== 药品信息 ===== */
.drug { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.drug__visual { position: sticky; top: 100px; }
.drug__visual img {
    width: 100%;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 5;
    object-fit: cover;
}
.drug__notice {
    margin-top: 20px;
    padding: 22px;
    background: #fff;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--c-accent);
}
.drug__notice h4 { font-size: 15px; color: var(--c-dark); margin-bottom: 12px; font-weight: 700; }
.drug__notice ul { display: flex; flex-direction: column; gap: 8px; }
.drug__notice li {
    font-size: 13px;
    color: var(--c-text-soft);
    padding-left: 20px;
    position: relative;
}
.drug__notice li::before { content: '⚠'; position: absolute; left: 0; color: var(--c-accent); }

.drug__title { font-size: 26px; font-weight: 700; color: var(--c-dark); margin-bottom: 16px; }
.drug__text { color: var(--c-text-soft); margin-bottom: 28px; }

.drug__categories { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.drug-cat {
    display: flex;
    gap: 14px;
    padding: 18px;
    background: #fff;
    border-radius: var(--r-md);
    border: 1px solid var(--c-line);
    transition: all .2s ease;
}
.drug-cat:hover { border-color: var(--c-primary); box-shadow: var(--shadow-md); }
.drug-cat__ico {
    width: 42px; height: 42px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: var(--grad-soft);
    border-radius: 50%;
    font-size: 18px;
    color: var(--c-primary);
    font-weight: 700;
}
.drug-cat strong { display: block; font-size: 15px; color: var(--c-dark); margin-bottom: 4px; }
.drug-cat p { font-size: 12px; color: var(--c-muted); line-height: 1.6; }

.drug__regulation {
    padding: 18px 22px;
    background: rgba(14, 116, 144, 0.06);
    border-radius: var(--r-md);
    font-size: 13px;
    color: var(--c-text-soft);
    line-height: 1.8;
}
.drug__regulation strong { color: var(--c-primary); }

/* ===== 中医 ===== */
.tcm__banner {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--shadow-lg);
}
.tcm__banner img {
    width: 100%;
    aspect-ratio: 21/8;
    object-fit: cover;
}
.tcm__banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 56px;
    color: #fff;
}
.tcm__quote { font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; letter-spacing: .02em; max-width: 640px; margin-bottom: 8px; }
.tcm__banner-overlay small { font-size: 13px; opacity: .8; }

.tcm__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.tcm-card {
    padding: 30px 26px;
    background: #fff;
    border-radius: var(--r-md);
    border: 1px solid var(--c-line);
    transition: all .25s ease;
    text-align: center;
}
.tcm-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.tcm-card__ico {
    font-size: 36px;
    width: 64px; height: 64px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    background: var(--grad-soft);
    border-radius: 50%;
}
.tcm-card h3 { font-size: 18px; font-weight: 700; color: var(--c-dark); margin-bottom: 10px; }
.tcm-card p { font-size: 13px; color: var(--c-muted); line-height: 1.7; }

/* ===== 关于我们 ===== */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about__text p { color: rgba(255, 255, 255, 0.82); margin-bottom: 16px; }
.about__values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 32px;
}
.about__values li {
    padding: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--r-md);
}
.about__values strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #6ee7b7;
    margin-bottom: 4px;
}
.about__values span { font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.about__visual img {
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4/5;
    object-fit: cover;
}

/* ===== 联系 ===== */
.contact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 22px;
    background: #fff;
    border-radius: var(--r-md);
    border: 1px solid var(--c-line);
    box-shadow: var(--shadow-sm);
    transition: all .25s ease;
}
.contact-card:hover {
    border-color: var(--c-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
.contact-card__ico {
    width: 52px; height: 52px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: var(--grad-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 22px;
}
.contact-card small { display: block; font-size: 12px; color: var(--c-muted); margin-bottom: 4px; }
.contact-card strong { font-size: 16px; color: var(--c-dark); font-weight: 700; word-break: break-all; }

/* ===== 底部 ===== */
.footer {
    background: #0b1f2a;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 64px;
}
.footer__inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
}
.footer__desc {
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}
.footer__nav h4, .footer__contact h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
}
.footer__nav a, .footer__contact a {
    display: block;
    padding: 6px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    transition: color .2s ease;
}
.footer__nav a:hover, .footer__contact a:hover { color: #6ee7b7; }
.footer__contact p { font-size: 13px; line-height: 1.9; color: rgba(255, 255, 255, 0.7); }
.footer__contact p span { margin-right: 6px; }

.footer__bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
}
.footer__bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.footer__icp { font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.footer__icp a {
    color: #6ee7b7;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.footer__icp a:hover { color: #a7f3d0; }
.footer__icp span { margin: 0 6px; }
.footer__disclaimer { font-size: 12px; color: rgba(255, 255, 255, 0.45); }

/* ===== 返回顶部 ===== */
.back-to-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 48px; height: 48px;
    background: var(--grad-primary);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 10px 24px -6px rgba(14, 116, 144, 0.6);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .3s ease;
    z-index: 90;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover { transform: translateY(-3px); }

/* ===== 滚动入场动画 ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .remote, .consult, .drug, .about { grid-template-columns: 1fr; gap: 40px; }
    .devices { grid-template-columns: repeat(3, 1fr); }
    .tcm__grid { grid-template-columns: repeat(2, 1fr); }
    .contact { grid-template-columns: repeat(2, 1fr); }
    .footer__inner { grid-template-columns: 1fr 1fr; }
    .remote__visual, .drug__visual { position: static; }
    .quick-nav__grid { grid-template-columns: repeat(2, 1fr); }
    .quick-nav__item:nth-child(2n) { border-right: 0; }
    .quick-nav__item:nth-child(-n+3) { border-bottom: 1px solid var(--c-line); }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }

    /* 移动端导航 */
    .nav {
        position: fixed;
        top: 72px;
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        padding: 16px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }
    .nav.open { max-height: 80vh; overflow-y: auto; }
    .nav__link { padding: 14px 16px; border-radius: var(--r-sm); }
    .nav__link.active::after { display: none; }
    .nav__link.active { background: var(--grad-soft); }
    .nav__link--cta { margin: 8px 0 0; text-align: center; }
    .nav-toggle { display: flex; }

    .top-bar__text { display: none; }
    .top-bar__inner { justify-content: center; }
    .top-bar__contact { font-size: 12px; gap: 14px; }

    .hero { min-height: 560px; }
    .hero__inner { padding: 56px 0; }
    .hero__stats { gap: 24px; flex-wrap: wrap; }

    .section { padding: 64px 0; }
    .section__head { margin-bottom: 40px; }

    .quick-nav__grid { grid-template-columns: 1fr; }
    .quick-nav__item { border-right: 0; border-bottom: 1px solid var(--c-line); }
    .quick-nav__item:last-child { border-bottom: 0; }

    .devices { grid-template-columns: repeat(2, 1fr); }
    .drug__categories { grid-template-columns: 1fr; }
    .tcm__grid { grid-template-columns: 1fr; }
    .contact { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr; gap: 32px; }
    .footer__bar-inner { flex-direction: column; text-align: center; }

    .remote__features { grid-template-columns: 1fr; }
    .remote__visual-badge { right: 8px; bottom: 8px; padding: 12px 16px; }

    .tcm__banner-overlay { padding: 0 24px; }

    .about__values { grid-template-columns: 1fr; }

    .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

@media (max-width: 480px) {
    .devices { grid-template-columns: 1fr; }
    .consult__list { grid-template-columns: 1fr; }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__stats { gap: 20px; }
    .hero__stats strong { font-size: 24px; }
}

/* ===== 打印优化 ===== */
@media print {
    .header, .top-bar, .nav-toggle, .back-to-top, .hero__scroll { display: none; }
    .section { padding: 24px 0; }
}
