/* ============================================================
   宠医生物 · Redesigned Design System
   Inspired by IDEXX (clarity / white-space) + Seamaty (product focus)
   ============================================================ */
:root {
    /* Refined medical palette — confident blue dominant, teal as single accent */
    --primary: #0a59c4;
    --primary-dark: #073d87;
    --primary-deep: #052a5e;
    --primary-light: #eaf2fd;
    --primary-tint: #f3f8ff;

    --secondary: #00b894;
    --secondary-dark: #009e7f;
    --secondary-light: #e6f9f4;

    --accent: #ff7a3d;
    --accent-light: #fff1ea;

    --ink: #0b1f33;          /* headings */
    --text: #334155;         /* body */
    --text-light: #64748b;
    --text-muted: #94a3b8;

    --bg: #ffffff;
    --bg-alt: #f6f9fc;       /* very light blue-grey */
    --bg-soft: #fbfdff;
    --border: #e6ecf2;
    --border-light: #f0f4f8;

    /* Softer, layered shadows */
    --shadow-xs: 0 1px 3px rgba(8, 47, 95, 0.05);
    --shadow-sm: 0 4px 14px rgba(8, 47, 95, 0.06);
    --shadow-md: 0 12px 32px rgba(8, 47, 95, 0.09);
    --shadow-lg: 0 24px 60px rgba(8, 47, 95, 0.12);

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --transition: all 0.35s var(--ease);

    --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--bg-alt); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 30px; border-radius: 50px; font-weight: 600; font-size: 15px;
    transition: var(--transition); border: none; cursor: pointer; white-space: nowrap;
    position: relative; overflow: hidden;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 20px rgba(10, 89, 196, 0.28); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(10, 89, 196, 0.36); }
.btn-secondary { background: var(--secondary); color: #fff; box-shadow: 0 6px 20px rgba(0, 184, 148, 0.26); }
.btn-secondary:hover { background: var(--secondary-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.45); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-outline-dark { background: #fff; color: var(--primary); border: 2px solid var(--border); }
.btn-outline-dark:hover { border-color: var(--primary); color: var(--primary-dark); }
.btn-lg { padding: 16px 38px; font-size: 16px; }
.btn-arrow::after { content: '→'; transition: transform 0.3s var(--ease); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.85); backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid rgba(230,236,242,0.7); transition: var(--transition);
}
.header.scrolled { background: rgba(255,255,255,0.96); box-shadow: 0 4px 24px rgba(8,47,95,0.07); }
.header-container { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 20px; color: var(--ink); letter-spacing: -0.01em; }
.logo-icon {
    width: 40px; height: 40px; border-radius: 11px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 110%);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800; box-shadow: 0 4px 12px rgba(10,89,196,0.3);
}
.logo-text { background: linear-gradient(120deg, var(--primary), var(--primary-dark)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; gap: 34px; }
.nav-link { font-size: 15px; font-weight: 500; color: var(--text-light); position: relative; padding: 8px 0; transition: var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, var(--primary), var(--secondary)); transition: var(--transition); border-radius: 2px; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.header-right { display: flex; align-items: center; gap: 18px; }

/* Language Switcher */
.lang-switcher { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 50px; border: 1px solid var(--border); background: #fff; font-size: 14px; font-weight: 500; color: var(--text); cursor: pointer; transition: var(--transition); }
.lang-btn:hover { border-color: var(--primary); background: var(--primary-light); }
.globe-icon { font-size: 16px; }
.arrow { font-size: 10px; transition: var(--transition); }
.lang-switcher:hover .arrow { transform: rotate(180deg); }
.lang-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0; min-width: 168px;
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light); padding: 8px 0;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: var(--transition); z-index: 1001;
}
.lang-switcher:hover .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-item { display: flex; align-items: center; gap: 8px; padding: 10px 20px; font-size: 14px; color: var(--text); transition: var(--transition); }
.lang-item:hover, .lang-item.active { background: var(--primary-light); color: var(--primary); }

.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); transition: var(--transition); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 130px 0 80px; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; }
/* Airier overlay — clarity over darkness */
.hero-gradient {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(120% 120% at 80% 20%, rgba(0,184,148,0.30) 0%, rgba(0,184,148,0) 45%),
        linear-gradient(135deg, rgba(5,42,94,0.86) 0%, rgba(10,89,196,0.72) 55%, rgba(0,89,140,0.66) 100%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1; opacity: 0.55; }
.hero-glow.a { width: 420px; height: 420px; background: rgba(0,184,148,0.45); top: -80px; right: 8%; }
.hero-glow.b { width: 360px; height: 360px; background: rgba(10,89,196,0.55); bottom: -100px; left: 4%; }

.hero-content { position: relative; z-index: 2; text-align: center; color: #fff; max-width: 920px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 9px 22px;
    background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28);
    border-radius: 50px; font-size: 14px; margin-bottom: 30px; backdrop-filter: blur(8px);
    letter-spacing: 0.01em;
}
.badge-dot { width: 8px; height: 8px; background: var(--secondary); border-radius: 50%; animation: pulse 2.4s infinite; box-shadow: 0 0 0 0 rgba(0,184,148,0.6); }
@keyframes pulse { 0%{opacity:1; transform:scale(1);} 50%{opacity:.6; transform:scale(1.25);} 100%{opacity:1; transform:scale(1);} }

.hero-title { font-size: clamp(40px, 6.2vw, 66px); font-weight: 800; line-height: 1.12; margin-bottom: 22px; letter-spacing: -0.02em; text-shadow: 0 2px 24px rgba(0,0,0,0.18); }
.hero-title .hl { background: linear-gradient(120deg, #7ef0d0, #aee9ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 18px; line-height: 1.85; color: rgba(255,255,255,0.9); max-width: 740px; margin: 0 auto 38px; font-weight: 400; }
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 56px; }

.hero-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.18); }
.stat-item { display: flex; flex-direction: column; align-items: center; padding: 0 52px; position: relative; }
.stat-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 44px; background: rgba(255,255,255,0.22); }
.stat-number { font-size: 42px; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 8px; letter-spacing: -0.02em; }
.stat-number .unit { font-size: 20px; font-weight: 700; color: var(--secondary); margin-left: 2px; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.72); letter-spacing: 0.02em; }

/* ---------- Trust Bar (NEW) ---------- */
.trust-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 26px 0; position: relative; z-index: 5; }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.trust-label { font-size: 13px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.trust-items { display: flex; align-items: center; gap: 12px 36px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.trust-item .ti-icon { width: 30px; height: 30px; border-radius: 9px; background: var(--primary-tint); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.trust-item .ti-icon.g { background: var(--secondary-light); color: var(--secondary); }

/* ---------- Section Headers ---------- */
.section-header { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-tag {
    display: inline-block; padding: 7px 18px; background: var(--primary-light); color: var(--primary);
    border-radius: 50px; font-size: 13px; font-weight: 700; margin-bottom: 18px; letter-spacing: 0.06em;
}
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--ink); margin-bottom: 18px; line-height: 1.22; letter-spacing: -0.015em; }
.section-desc { font-size: 17px; color: var(--text-light); line-height: 1.8; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.about-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-image img { width: 100%; height: 500px; object-fit: cover; }
.about-image-card {
    position: absolute; bottom: 24px; left: 24px; right: 24px; display: flex; align-items: center; gap: 16px;
    padding: 20px 24px; background: rgba(255,255,255,0.94); backdrop-filter: blur(10px);
    border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.card-icon { font-size: 34px; }
.about-image-card strong { display: block; font-size: 17px; color: var(--ink); margin-bottom: 2px; }
.about-image-card p { font-size: 14px; color: var(--text-light); }
.about-text { margin-bottom: 34px; }
.about-text p { font-size: 16px; color: var(--text); line-height: 1.85; margin-bottom: 16px; }
.about-text p:first-child { font-size: 17px; color: var(--ink); font-weight: 500; }
.location-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.location-card { background: #fff; padding: 26px 20px; border-radius: var(--radius); border: 1px solid var(--border); text-align: center; transition: var(--transition); }
.location-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--primary-light); }
.location-number { display: block; font-size: 25px; font-weight: 800; color: var(--primary); margin-bottom: 6px; letter-spacing: -0.01em; }
.location-label { font-size: 13px; color: var(--text-light); line-height: 1.5; }

/* ---------- Culture ---------- */
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.culture-card { padding: 42px 36px; border-radius: var(--radius-lg); border: 1px solid var(--border); transition: var(--transition); position: relative; overflow: hidden; background: #fff; }
.culture-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.culture-mission { background: linear-gradient(160deg, var(--primary-light) 0%, rgba(255,255,255,0) 70%); }
.culture-vision { background: linear-gradient(160deg, var(--secondary-light) 0%, rgba(255,255,255,0) 70%); }
.culture-values { background: linear-gradient(160deg, var(--accent-light) 0%, rgba(255,255,255,0) 70%); }
.culture-icon { font-size: 42px; margin-bottom: 18px; }
.culture-card h3 { font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.culture-card p { font-size: 15px; color: var(--text-light); line-height: 1.75; }
.culture-card ul li { font-size: 14.5px; color: var(--text); margin-bottom: 11px; line-height: 1.6; }
.culture-card ul li strong { color: var(--primary); margin-right: 6px; }

/* ---------- Products ---------- */
.product-category { margin-bottom: 64px; }
.product-category:last-child { margin-bottom: 0; }
.category-header { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; padding-bottom: 18px; border-bottom: 2px solid var(--primary); }
.category-icon { font-size: 30px; }
.category-header h3 { font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.category-sub { font-size: 14px; color: var(--text-light); margin-left: auto; font-weight: 500; }
.product-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); box-shadow: var(--shadow-xs); display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.product-img { height: 210px; background: linear-gradient(160deg, var(--bg-soft), var(--bg-alt)); display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid var(--border-light); }
.product-img img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: var(--transition); }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-card h4 { font-size: 17px; font-weight: 800; color: var(--ink); padding: 22px 22px 8px; }
.product-card p { font-size: 14px; color: var(--text-light); padding: 0 22px 24px; line-height: 1.65; flex: 1; }

/* ---------- Tumor ---------- */
.tumor-content { display: flex; flex-direction: column; gap: 60px; }
.tumor-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.tumor-image { background: linear-gradient(160deg, var(--bg-soft), var(--bg-alt)); border-radius: var(--radius-lg); padding: 44px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.tumor-image img { max-height: 380px; object-fit: contain; }
.tumor-intro-text h3 { font-size: 28px; font-weight: 800; color: var(--ink); margin-bottom: 18px; letter-spacing: -0.01em; }
.tumor-intro-text p { font-size: 16px; color: var(--text); line-height: 1.85; margin-bottom: 16px; }
.tumor-intro-text .btn { margin-top: 8px; }
.tumor-markers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.marker-card { background: #fff; border-radius: var(--radius); padding: 30px 18px; text-align: center; border: 1px solid var(--border); transition: var(--transition); position: relative; overflow: hidden; }
.marker-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.marker-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--secondary)); }
.marker-abbr { font-size: 32px; font-weight: 800; color: var(--primary); margin-bottom: 6px; letter-spacing: -0.02em; }
.marker-card h4 { font-size: 16px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.marker-card p { font-size: 13px; color: var(--text-light); margin-bottom: 12px; line-height: 1.5; }
.marker-tag { display: inline-block; padding: 4px 13px; background: var(--secondary-light); color: var(--secondary-dark); border-radius: 50px; font-size: 12px; font-weight: 700; }
.tumor-performance { background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%); border-radius: var(--radius-lg); padding: 60px; color: #fff; position: relative; overflow: hidden; }
.tumor-performance::after { content: ''; position: absolute; top: -40%; right: -10%; width: 460px; height: 460px; background: radial-gradient(circle, rgba(0,184,148,0.25), transparent 70%); border-radius: 50%; }
.performance-title { text-align: center; font-size: 28px; font-weight: 800; margin-bottom: 40px; position: relative; z-index: 1; }
.performance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; z-index: 1; }
.performance-item { text-align: center; padding: 26px 20px; background: rgba(255,255,255,0.10); border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.16); backdrop-filter: blur(8px); }
.performance-value { display: block; font-size: 27px; font-weight: 800; color: #5ef0cf; margin-bottom: 8px; letter-spacing: -0.01em; }
.performance-label { font-size: 14px; color: rgba(255,255,255,0.82); }

/* ---------- Technology ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tech-card { background: #fff; padding: 38px 28px; border-radius: var(--radius); border: 1px solid var(--border); transition: var(--transition); text-align: center; }
.tech-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--secondary-light); }
.tech-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px; background: linear-gradient(135deg, var(--primary-light), var(--secondary-light)); display: flex; align-items: center; justify-content: center; font-size: 30px; }
.tech-card h3 { font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.tech-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ---------- Applications ---------- */
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.app-card { padding: 38px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: #fff; transition: var(--transition); position: relative; overflow: hidden; }
.app-card:hover { box-shadow: var(--shadow-md); border-color: var(--secondary-light); transform: translateY(-4px); }
.app-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(to bottom, var(--primary), var(--secondary)); }
.app-number { font-size: 46px; font-weight: 800; color: var(--primary-light); line-height: 1; margin-bottom: 10px; letter-spacing: -0.02em; }
.app-card h3 { font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.app-card p { font-size: 15px; color: var(--text-light); line-height: 1.75; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { background: #fff; border-radius: var(--radius); padding: 34px 24px; text-align: center; border: 1px solid var(--border); transition: var(--transition); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-avatar { width: 116px; height: 116px; border-radius: 50%; overflow: hidden; margin: 0 auto 18px; border: 4px solid var(--primary-light); background: var(--bg-alt); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.team-card p { font-size: 13.5px; color: var(--text-light); line-height: 1.5; }

/* ---------- Training ---------- */
.training-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.training-card { background: #fff; border-radius: var(--radius); padding: 34px 24px; border: 1px solid var(--border); transition: var(--transition); text-align: center; }
.training-card:hover { background: var(--bg-soft); box-shadow: var(--shadow-md); transform: translateY(-6px); border-color: var(--primary-light); }
.training-icon { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 16px; background: var(--primary-tint); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.training-card h3 { font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.training-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ---------- CTA ---------- */
.cta-section { padding: 84px 0; }
.cta-card { background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%); border-radius: var(--radius-lg); padding: 80px 60px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-card::before { content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px; background: rgba(255,255,255,0.06); border-radius: 50%; }
.cta-card::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px; background: rgba(0,184,148,0.18); border-radius: 50%; }
.cta-card h2 { font-size: 36px; font-weight: 800; margin-bottom: 18px; position: relative; z-index: 1; letter-spacing: -0.01em; }
.cta-card p { font-size: 17px; color: rgba(255,255,255,0.86); max-width: 600px; margin: 0 auto 32px; line-height: 1.75; position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 16px; justify-content: center; position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding: 76px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 56px; }
.footer-brand .logo { color: #fff; margin-bottom: 18px; }
.footer-brand .logo-icon { box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.footer-brand p { font-size: 15px; color: rgba(255,255,255,0.7); margin-bottom: 6px; line-height: 1.6; }
.footer-links h4, .footer-contact h4 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 20px; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a { font-size: 14px; color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-links ul li a:hover { color: var(--secondary); }
.footer-contact p { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 10px; line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.5); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-up { animation: fadeInUp 0.6s ease-out forwards; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: #c5d3e0; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .product-list, .tech-grid, .training-grid { grid-template-columns: repeat(2, 1fr); }
    .tumor-markers { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
    .nav-list { gap: 22px; }
    .about-grid, .tumor-intro { grid-template-columns: 1fr; gap: 40px; }
    .about-image { order: -1; }
    .culture-grid { grid-template-columns: 1fr; }
    .product-list, .tech-grid, .team-grid, .training-grid, .performance-grid, .app-grid { grid-template-columns: 1fr; }
    .tumor-markers { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .location-cards { grid-template-columns: 1fr; }
    .stat-item { padding: 0 26px; }
    .trust-inner { justify-content: center; }
}
@media (max-width: 768px) {
    .header-container { height: 64px; }
    .main-nav { position: fixed; top: 64px; left: 0; right: 0; background: #fff; padding: 20px 24px; box-shadow: var(--shadow-md); transform: translateY(-120%); opacity: 0; visibility: hidden; transition: var(--transition); }
    .main-nav.active { transform: translateY(0); opacity: 1; visibility: visible; }
    .nav-list { flex-direction: column; gap: 8px; }
    .nav-link { display: block; padding: 12px 0; }
    .mobile-menu-toggle { display: flex; }
    .mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .header-right .btn-primary { display: none; }
    .hero { padding: 120px 0 60px; }
    .hero-title { font-size: 36px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-stats { flex-direction: column; gap: 22px; }
    .stat-item:not(:last-child)::after { display: none; }
    .stat-item { padding: 0; }
    .stat-number { font-size: 36px; }
    .section { padding: 60px 0; }
    .section-header { margin-bottom: 42px; }
    .about-image img { height: 320px; }
    .about-image-card { position: relative; bottom: auto; left: auto; right: auto; margin: 16px; }
    .tumor-markers { grid-template-columns: 1fr; }
    .tumor-performance { padding: 40px 24px; }
    .cta-card { padding: 48px 24px; }
    .cta-card h2 { font-size: 26px; }
    .cta-actions { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .trust-items { justify-content: center; gap: 14px 24px; }
}

/* Platform-based product architecture */
.product-category.platform-flagship {
    background: linear-gradient(135deg, rgba(10, 89, 196, 0.04) 0%, rgba(0, 184, 148, 0.04) 100%);
    border: 1px solid rgba(10, 89, 196, 0.12);
    border-radius: 24px;
    padding: 40px;
}

.product-category.platform-flagship .category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 32px;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 20px;
    text-transform: uppercase;
}

.platform-badge::before {
    content: "★";
    font-size: 10px;
}

.platform-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 720px;
    line-height: 1.6;
    margin-top: 4px;
}

.product-card.product-highlight {
    border: 1px solid rgba(10, 89, 196, 0.08);
    box-shadow: 0 4px 18px rgba(10, 89, 196, 0.06);
}

.product-card.product-highlight:hover {
    border-color: rgba(10, 89, 196, 0.18);
    box-shadow: 0 14px 36px rgba(10, 89, 196, 0.12);
}

/* Facility & Clinical Gallery */
.gallery .section-header {
    margin-bottom: 52px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.gallery-item .gallery-img {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-item .gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-img img {
    transform: scale(1.08);
}

.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px;
    background: linear-gradient(0deg, rgba(4, 24, 54, 0.82) 0%, rgba(4, 24, 54, 0) 100%);
    color: #fff;
}

.gallery-caption h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #fff;
}

.gallery-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }
    .gallery-item-large {
        grid-column: span 2;
        grid-row: span 2;
    }
}

@media (max-width: 576px) {
    .product-category.platform-flagship {
        padding: 28px 22px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }
    .gallery-item-large {
        grid-column: span 1;
        grid-row: span 1;
    }
}


/* Product / team image placeholders */
.product-img.no-img, .team-avatar.no-img {
    background: linear-gradient(135deg, var(--primary-light), var(--bg-alt));
    display: flex;
    align-items: center;
    justify-content: center;
}
.no-img-icon {
    font-size: 56px;
    opacity: 0.35;
    line-height: 1;
}
.team-avatar.no-img .no-img-icon {
    font-size: 48px;
}


/* 4-column product rows */
.product-list.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1200px) {
    .product-list.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
    .product-list.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .product-list.cols-4 { grid-template-columns: 1fr; }
}

/* Product detail page */
.product-hero {
    padding: 140px 0 80px;
    background:
        radial-gradient(1100px 380px at 82% -12%, rgba(0, 184, 148, 0.07), transparent 60%),
        linear-gradient(135deg, var(--bg-soft) 0%, #fff 100%);
    border-bottom: 1px solid var(--border-light);
}
.product-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.product-hero-image {
    position: relative;
    background: linear-gradient(160deg, var(--bg-soft), var(--bg-alt));
    border-radius: var(--radius-lg);
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    overflow: hidden;
}
.product-hero-image::after {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(10, 89, 196, 0.10), transparent 70%);
    border-radius: 50%;
}
.product-hero-image img {
    max-height: 380px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}
.product-platform {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 89, 196, 0.08);
    color: var(--primary);
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(10, 89, 196, 0.14);
}
.product-hero-content h1 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 20px;
    line-height: 1.18;
    letter-spacing: -0.02em;
}
.product-hero-content .product-intro {
    font-size: 16px;
    color: var(--text);
    line-height: 1.85;
    margin-bottom: 28px;
}
.product-detail {
    padding: 84px 0 72px;
    background: #fff;
}
.product-detail .section-header {
    text-align: left;
    max-width: none;
    margin: 0 0 44px;
}
.product-detail .section-header::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    margin-top: 18px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.product-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.product-info-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius);
    padding: 30px 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
    overflow: hidden;
}
.product-info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.product-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}
.product-info-card h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}
.product-info-card h2::before {
    content: "";
    width: 6px;
    height: 20px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    flex: none;
}
.product-info-card ul {
    list-style: none;
    padding: 0;
}
.product-info-card ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 11px;
    font-size: 14.5px;
    color: var(--text);
    line-height: 1.62;
}
.product-info-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--secondary);
    font-weight: 800;
    font-size: 13px;
}
/* Overview card — full width lead paragraph */
.card-overview {
    grid-column: 1 / -1;
    background: linear-gradient(180deg, var(--primary-tint), #fff 72%);
}
.card-overview::before {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
}
.card-overview p {
    font-size: 16.5px;
    line-height: 1.9;
    color: var(--text);
    max-width: 960px;
}
/* Items list — two columns for density */
.card-items #itemsList {
    columns: 2;
    column-gap: 30px;
}
.card-items #itemsList li {
    break-inside: avoid;
}
.product-related {
    padding: 80px 0;
    background: var(--bg-alt);
}
.product-related .section-title {
    text-align: center;
    margin-bottom: 48px;
}
.product-img-link {
    display: block;
    text-decoration: none;
}
.product-card h4 a {
    color: inherit;
    text-decoration: none;
}
.product-card h4 a:hover {
    color: var(--primary);
}
.product-detail-link {
    display: inline-block;
    margin: 0 22px 24px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}
.product-detail-link:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}
@media (max-width: 1200px) {
    .card-items #itemsList { columns: 1; }
}
@media (max-width: 992px) {
    .product-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .card-overview { grid-column: auto; }
}


/* Product medical/technical background card */
.product-background-card {
    margin-top: 28px;
    background: linear-gradient(135deg, #f4f8ff 0%, #eef3ff 100%);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    padding: 36px 40px;
}
.product-background-card h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}
.product-background-card p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text);
    margin: 0;
}
@media (max-width: 768px) {
    .product-background-card { padding: 26px 22px; }
}