/* ============================================
   灵宝市高新学校 - 品牌官网样式表
   主色调：深蓝/藏青 + 白色 + 金色点缀
   ============================================ */

/* ===== CSS Variables ===== */
:root {
    --primary: #0a2540;
    --primary-light: #14467a;
    --primary-lighter: #1b5294;
    --primary-soft: #e8f0fa;
    --accent: #c9a961;
    --accent-light: #dcc188;
    --accent-dark: #b08d3e;
    --bg-light: #f5f7fa;
    --bg-gray: #eef1f6;
    --bg-white: #ffffff;
    --text-dark: #1a202c;
    --text-body: #4a5568;
    --text-light: #718096;
    --text-muted: #a0aec0;
    --border: #e2e8f0;
    --border-dark: #cbd5e0;
    --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06);
    --shadow-md: 0 4px 20px rgba(10, 37, 64, 0.08);
    --shadow-lg: 0 8px 40px rgba(10, 37, 64, 0.12);
    --transition: all 0.3s ease;
    --radius: 8px;
    --radius-lg: 16px;
    --container: 1200px;
    --header-h: 80px;
    --topbar-h: 40px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-body);
    line-height: 1.8;
    background: var(--bg-white);
    overflow-x: hidden;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.4;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

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

.container-sm {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-sm {
    padding: 50px 0;
}

.bg-light { background: var(--bg-light); }
.bg-gray { background: var(--bg-gray); }
.bg-primary { background: var(--primary); color: #fff; }
.bg-white { background: #fff; }

.text-center { text-align: center; }
.text-left { text-align: left; }

/* ===== Section Title ===== */
.section-title-wrap {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 18px;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 16px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 2;
}

.section-title-en {
    display: block;
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 10px;
    font-weight: 600;
}

/* ===== Header ===== */
.top-bar {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.85);
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top-bar-left {
    display: flex;
    gap: 24px;
    align-items: center;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-right {
    display: flex;
    gap: 16px;
    align-items: center;
}

.top-bar-right a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
}

.top-bar-right a:hover {
    color: var(--accent);
}

.header {
    background: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-h);
    gap: 16px;
}

/* 右侧 CTA 按钮：不参与压缩 */
.header-cta {
    flex-shrink: 0;
    white-space: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.logo-text .en {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== Navigation ===== */
.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    /* 占据 logo 与 CTA 之间的剩余空间，避免被两侧挤变形 */
    flex: 1 1 auto;
    min-width: 0;
}

.nav > li {
    flex: 0 0 auto;
}

.nav > li > a {
    display: block;
    padding: 10px 18px;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
}

.nav > li > a:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

.nav > li > a.active {
    color: var(--primary);
    font-weight: 700;
}

.nav > li > a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== Hero / Banner ===== */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.75) 0%, rgba(10, 37, 64, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 24px;
}

.hero-content h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 6px;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content .hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    letter-spacing: 2px;
    line-height: 2;
}

.hero-content .hero-slogan {
    display: inline-block;
    padding: 8px 32px;
    border: 1px solid rgba(201, 169, 97, 0.6);
    border-radius: 30px;
    color: var(--accent-light);
    font-size: 1rem;
    letter-spacing: 3px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    text-align: center;
    animation: bounce 2s infinite;
}

.hero-scroll i {
    display: block;
    font-size: 1.2rem;
    margin-top: 4px;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== Page Banner (Secondary Pages) ===== */
.page-banner {
    position: relative;
    height: 360px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.88) 0%, rgba(20, 70, 122, 0.7) 100%);
}

.page-banner-content {
    position: relative;
    z-index: 2;
    color: #fff;
    width: 100%;
}

.page-banner-content h1 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.page-banner-content .banner-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    line-height: 2;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 16px;
    font-size: 0.85rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span {
    color: var(--accent);
}

.breadcrumb i {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background: var(--accent);
    color: var(--primary);
}

.btn-accent:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-dark:hover {
    background: var(--primary);
    color: #fff;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* ===== Grid System ===== */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== Cards ===== */
.card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-img-wrap {
    overflow: hidden;
    position: relative;
}

.card-body {
    padding: 28px;
}

.card-body h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.card-body p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.8;
}

.card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

/* Feature Card */
.feature-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--primary-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: var(--accent);
}

.feature-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ===== Stats Section ===== */
.stats {
    background: var(--primary);
    color: #fff;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-item .stat-number .unit {
    font-size: 1.2rem;
    margin-left: 4px;
}

.stat-item .stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
}

/* ===== Split Section (Image + Text) ===== */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-section.reverse .split-image {
    order: 2;
}

.split-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.split-content h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.split-content p {
    color: var(--text-body);
    margin-bottom: 16px;
    line-height: 2;
}

.split-list {
    margin: 24px 0;
}

.split-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-body);
}

.split-list li i {
    color: var(--accent);
    margin-top: 4px;
    flex-shrink: 0;
}

/* ===== Highlight Box ===== */
.highlight-box {
    background: var(--primary-soft);
    border-left: 4px solid var(--accent);
    padding: 24px 28px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 24px 0;
}

.highlight-box p {
    margin-bottom: 0;
    color: var(--primary);
    font-weight: 500;
}

/* ===== Table ===== */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

table th {
    background: var(--primary);
    color: #fff;
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text-body);
    font-size: 0.95rem;
}

table tr:hover td {
    background: var(--primary-soft);
}

table tr:last-child td {
    border-bottom: none;
}

/* ===== News List ===== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.news-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.news-item-img {
    width: 100%;
    height: 100%;
    min-height: 140px;
    object-fit: cover;
}

.news-item-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-item-body .news-date {
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 8px;
    font-weight: 600;
}

.news-item-body h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.5;
}

.news-item-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== Article Detail ===== */
.article-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.article-header h1 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-content {
    font-size: 1rem;
    line-height: 2.2;
    color: var(--text-body);
}

.article-content h2 {
    font-size: 1.4rem;
    color: var(--primary);
    margin: 32px 0 16px;
    padding-left: 16px;
    border-left: 4px solid var(--accent);
}

.article-content h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin: 24px 0 12px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content img {
    width: 100%;
    border-radius: var(--radius);
    margin: 24px 0;
}

.article-content blockquote {
    background: var(--primary-soft);
    border-left: 4px solid var(--primary);
    padding: 20px 28px;
    margin: 24px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--primary);
    font-style: italic;
}

.article-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.article-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-body);
    font-size: 0.9rem;
}

.article-nav a:hover {
    color: var(--primary);
}

/* ===== Timeline ===== */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-dark);
}

.timeline-item {
    position: relative;
    padding-bottom: 36px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -34px;
    top: 4px;
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--accent);
}

.timeline-item h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.timeline-item .timeline-date {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-item p {
    color: var(--text-body);
    font-size: 0.95rem;
}

/* ===== Accordion / FAQ ===== */
.accordion-item {
    background: #fff;
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.accordion-header {
    padding: 20px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
    font-size: 1.05rem;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--primary-soft);
}

.accordion-header .icon {
    font-size: 1.2rem;
    color: var(--accent);
    transition: var(--transition);
}

.accordion-item.active .accordion-header .icon {
    transform: rotate(45deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-body {
    max-height: 500px;
}

.accordion-body-inner {
    padding: 0 28px 20px;
    color: var(--text-body);
    line-height: 1.8;
}

/* ===== Contact Form ===== */
.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(20, 70, 122, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ===== Contact Info ===== */
.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.contact-info-item .icon {
    width: 52px;
    height: 52px;
    background: var(--primary-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-info-item .info h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-info-item .info p {
    color: var(--text-body);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===== Gallery ===== */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.85) 0%, rgba(10, 37, 64, 0.3) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    background: linear-gradient(to top, rgba(10, 37, 64, 0.9) 0%, rgba(10, 37, 64, 0.5) 50%, rgba(10, 37, 64, 0.2) 100%);
}

.gallery-overlay h4 {
    color: #fff;
    font-size: 1.1rem;
    text-align: center;
    padding: 0 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ===== Map ===== */
.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    line-height: 0;
}

.map-wrap iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* 百度地图容器（联系页） */
.map-wrap #lbgxMap {
    width: 100%;
    height: 420px;
    line-height: normal;
    background: #f2f5f8;
}

.map-wrap .map-tip {
    line-height: 1.8;
    margin: 0;
    padding: 10px 16px;
    font-size: 0.86rem;
    color: var(--text-muted);
    background: #fff;
    border-top: 1px solid var(--border-color, #eee);
}

.map-wrap .map-tip i {
    color: var(--accent);
    margin-right: 6px;
}

/* ===== Footer ===== */
.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.9;
    margin-bottom: 12px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 6px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-contact li i {
    color: var(--accent);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-logo .name {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-qr {
    text-align: center;
}

.footer-qr .qr-placeholder {
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: var(--radius);
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.8rem;
}

.footer-qr .qr-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius);
}

.footer-qr p {
    font-size: 0.85rem;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--accent);
}

/* ===== Legal Page ===== */
.legal-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 20px 0;
}

.legal-content h1 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1.8rem;
}

.legal-content .update-date {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 40px;
}

.legal-content h2 {
    color: var(--primary);
    font-size: 1.3rem;
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}

.legal-content h3 {
    color: var(--primary-light);
    font-size: 1.1rem;
    margin: 24px 0 12px;
}

.legal-content p {
    margin-bottom: 16px;
    line-height: 2;
    color: var(--text-body);
}

.legal-content ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-content ul li {
    list-style: disc;
    margin-bottom: 8px;
    color: var(--text-body);
    line-height: 1.8;
}

.legal-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-content ol li {
    list-style: decimal;
    margin-bottom: 8px;
    color: var(--text-body);
    line-height: 1.8;
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-body);
    font-size: 0.9rem;
    transition: var(--transition);
    background: #fff;
    cursor: pointer;
    font-family: inherit;
}

.pagination a:hover,
.pagination button:hover,
.pagination a.active,
.pagination button.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pagination .page-prev,
.pagination .page-next {
    width: auto;
    padding: 0 16px;
    gap: 6px;
}

/* ===== FAQ Pagination ===== */
.faq-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.faq-pagination button {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-body);
    font-size: 0.9rem;
    transition: var(--transition);
    background: #fff;
    cursor: pointer;
    font-family: inherit;
    padding: 0 12px;
}

.faq-pagination button:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.faq-pagination button.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.faq-pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.faq-page {
    display: none;
}

.faq-page.active {
    display: block;
}

/* ===== Section Alignment ===== */
.align-stretch {
    align-items: stretch;
}

.grid > * {
    display: flex;
    flex-direction: column;
}

.grid > * > *:last-child {
    flex: 1;
}

.equal-height {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.equal-height .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.equal-height .card-body p {
    flex: 1;
}

/* Ensure split sections have equal height columns */
.split-section {
    align-items: stretch;
}

.split-image,
.split-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Feature cards equal height */
.feature-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card p {
    flex: 1;
}

/* Contact info items consistent spacing */
.contact-info-item .info {
    flex: 1;
}

/* ===== Badge ===== */
.badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-primary {
    background: var(--primary-soft);
    color: var(--primary);
}

.badge-accent {
    background: rgba(201, 169, 97, 0.15);
    color: var(--accent-dark);
}

.badge-success {
    background: #e6f9ee;
    color: #1a8a4c;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
    border: none;
    font-size: 1.1rem;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-4px);
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    text-align: center;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(201, 169, 97, 0.1);
    border-radius: 50%;
}

.cta-section h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* ===== Responsive ===== */

/* ---- Tablet Landscape (≤1024px) ---- */
@media (max-width: 1024px) {
    .container,
    .container-sm {
        padding: 0 20px;
    }

    .section {
        padding: 60px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-section {
        gap: 40px;
    }

    .card-body {
        padding: 22px;
    }

    .feature-card {
        padding: 28px 20px;
    }

    .news-item {
        grid-template-columns: 180px 1fr;
        gap: 20px;
    }

    .cta-section::before {
        width: 300px;
        height: 300px;
    }
}

/* ---- 顶部导航自适应：8 个栏目在窄屏逐级缩放，避免被挤压变形 ---- */
@media (max-width: 1300px) {
    .logo-text .name {
        font-size: 1.25rem;
    }

    .nav {
        gap: 2px;
    }

    .nav > li > a {
        padding: 10px 13px;
        font-size: 0.95rem;
    }

    .header-cta {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 1200px) {
    .logo-text .en {
        display: none;
    }

    .nav {
        gap: 0;
    }

    .nav > li > a {
        padding: 10px 11px;
        font-size: 0.92rem;
    }

    .header-cta {
        padding: 9px 14px;
        font-size: 0.86rem;
    }
}

/* 平板横屏：收起 CTA，导航继续居中铺满 */
@media (min-width: 769px) and (max-width: 1024px) {
    .header-cta {
        display: none;
    }

    .logo-icon {
        width: 42px;
        height: 42px;
        font-size: 1.3rem;
    }

    .logo-text .name {
        font-size: 1.12rem;
    }

    .nav > li > a {
        padding: 9px 9px;
        font-size: 0.88rem;
    }
}

/* 平板竖屏：进一步压缩，保证一行显示完整 */
@media (min-width: 769px) and (max-width: 900px) {
    .top-bar-right {
        display: none;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 1.15rem;
    }

    .logo-text .name {
        font-size: 1.05rem;
    }

    .nav > li > a {
        padding: 8px 7px;
        font-size: 0.82rem;
    }
}

/* ---- Tablet Portrait / Large Phone (≤768px) ---- */
@media (max-width: 768px) {
    :root {
        --header-h: 60px;
    }

    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.25rem; }

    .container,
    .container-sm {
        padding: 0 16px;
    }

    .section {
        padding: 45px 0;
    }

    .section-sm {
        padding: 35px 0;
    }

    .section-title {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }

    .section-subtitle {
        font-size: 0.9rem;
        max-width: 100%;
    }

    /* Top Bar */
    .top-bar {
        display: none;
    }

    /* Header & Navigation */
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        border-radius: 8px;
    }

    .logo-text .name {
        font-size: 1.15rem;
    }

    .logo-text .en {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 70px 16px 20px;
        gap: 0;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 1001;
    }

    .nav.active {
        right: 0;
    }

    .nav > li > a {
        padding: 14px 16px;
        border-radius: 0;
        border-bottom: 1px solid var(--border);
        font-size: 0.95rem;
    }

    .nav > li > a.active::after {
        display: none;
    }

    /* Nav overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1000;
    }

    .nav-overlay.active {
        display: block;
    }

    /* Hero */
    .hero {
        height: 55vh;
        min-height: 360px;
    }

    .hero-content {
        padding: 0 16px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
        letter-spacing: 2px;
        margin-bottom: 14px;
    }

    .hero-content .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 1px;
        line-height: 1.8;
        margin-bottom: 24px;
    }

    .hero-content .hero-slogan {
        padding: 6px 20px;
        font-size: 0.85rem;
        letter-spacing: 2px;
        margin-bottom: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    .hero-scroll {
        display: none;
    }

    /* Page Banner */
    .page-banner {
        height: 200px;
    }

    .page-banner-content h1 {
        font-size: 1.4rem;
        letter-spacing: 2px;
        margin-bottom: 8px;
    }

    .page-banner-content .banner-desc {
        font-size: 0.85rem;
        line-height: 1.7;
    }

    .breadcrumb {
        font-size: 0.75rem;
        margin-top: 12px;
    }

    /* Buttons */
    .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }

    .btn-lg {
        padding: 12px 28px;
        font-size: 1rem;
    }

    /* Grids */
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Cards */
    .card-body {
        padding: 20px;
    }

    .card-body h3 {
        font-size: 1.1rem;
    }

    .card-img {
        height: 180px;
    }

    .feature-card {
        padding: 24px 18px;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        margin-bottom: 14px;
    }

    .feature-card h3 {
        font-size: 1.05rem;
    }

    .feature-card p {
        font-size: 0.88rem;
    }

    /* Stats */
    .stats {
        padding: 40px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item .stat-number {
        font-size: 1.8rem;
    }

    .stat-item .stat-number .unit {
        font-size: 0.9rem;
    }

    .stat-item .stat-label {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    /* Split Section */
    .split-section {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .split-section.reverse .split-image {
        order: 0;
    }

    .split-content h2 {
        font-size: 1.4rem;
    }

    .split-content p {
        font-size: 0.9rem;
    }

    .split-list li {
        font-size: 0.88rem;
    }

    /* Highlight Box */
    .highlight-box {
        padding: 16px 20px;
        margin: 16px 0;
    }

    /* Table */
    .table-wrap {
        border-radius: var(--radius);
    }

    table th {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    table td {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    /* News List */
    .news-item {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .news-item-img {
        height: 160px;
    }

    .news-item-body {
        padding: 16px 18px;
    }

    .news-item-body h3 {
        font-size: 1.05rem;
    }

    .news-item-body p {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }

    /* Article Detail */
    .article-header h1 {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .article-meta {
        flex-wrap: wrap;
        gap: 12px;
        font-size: 0.78rem;
    }

    .article-content {
        font-size: 0.9rem;
        line-height: 2;
    }

    .article-content h2 {
        font-size: 1.2rem;
        margin: 24px 0 12px;
        padding-left: 12px;
    }

    .article-content h3 {
        font-size: 1.05rem;
    }

    .article-content blockquote {
        padding: 14px 18px;
        margin: 16px 0;
        font-size: 0.88rem;
    }

    .article-content ul,
    .article-content ol {
        padding-left: 20px !important;
    }

    .article-content ul li {
        line-height: 2 !important;
        font-size: 0.88rem;
    }

    .article-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .article-nav a {
        font-size: 0.82rem;
    }

    /* Timeline */
    .timeline {
        padding-left: 28px;
    }

    .timeline::before {
        left: 8px;
    }

    .timeline-dot {
        left: -26px;
        width: 12px;
        height: 12px;
    }

    .timeline-item h4 {
        font-size: 1rem;
    }

    .timeline-item p {
        font-size: 0.88rem;
    }

    /* Accordion / FAQ */
    .accordion-header {
        padding: 14px 18px;
        font-size: 0.92rem;
    }

    .accordion-body-inner {
        padding: 0 18px 16px;
        font-size: 0.88rem;
    }

    /* Contact Form */
    .contact-form {
        padding: 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Contact Info */
    .contact-info-item {
        gap: 14px;
        margin-bottom: 20px;
    }

    .contact-info-item .icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        border-radius: 10px;
    }

    .contact-info-item .info h4 {
        font-size: 0.9rem;
    }

    .contact-info-item .info p {
        font-size: 0.85rem;
    }

    /* Gallery */
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-overlay h4 {
        font-size: 0.95rem;
    }

    /* Map */
    .map-wrap iframe,
    .map-wrap #lbgxMap {
        height: 280px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 28px;
    }

    .footer-col h4 {
        font-size: 1rem;
        margin-bottom: 14px;
    }

    .footer-col p,
    .footer-col ul li a,
    .footer-contact li {
        font-size: 0.85rem;
    }

    .footer-logo .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .footer-logo .name {
        font-size: 1.05rem;
    }

    .footer-qr .qr-placeholder {
        width: 100px;
        height: 100px;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 16px 0;
    }

    .footer-bottom p {
        font-size: 0.78rem;
    }

    .footer-links a {
        font-size: 0.78rem;
    }

    /* CTA Section */
    .cta-section {
        padding: 45px 0;
    }

    .cta-section h2 {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    .cta-section p {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }

    /* Back to Top */
    .back-to-top {
        width: 42px;
        height: 42px;
        bottom: 20px;
        right: 16px;
        font-size: 1rem;
    }

    /* Legal Pages */
    .legal-content h1 {
        font-size: 1.4rem;
    }

    .legal-content h2 {
        font-size: 1.15rem;
    }

    .legal-content p {
        font-size: 0.9rem;
    }

    /* Pagination */
    .pagination a,
    .pagination button,
    .faq-pagination button {
        width: 36px;
        height: 36px;
        font-size: 0.82rem;
    }
}

/* ---- Small Phone (≤480px) ---- */
@media (max-width: 480px) {
    .container,
    .container-sm {
        padding: 0 12px;
    }

    .section {
        padding: 35px 0;
    }

    h1 { font-size: 1.4rem; }
    h2 { font-size: 1.2rem; }
    h3 { font-size: 1.1rem; }

    .section-title {
        font-size: 1.3rem;
        padding-bottom: 12px;
    }

    .section-subtitle {
        font-size: 0.82rem;
    }

    /* Header */
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 1.05rem;
    }

    .logo-text .name {
        font-size: 1rem;
    }

    .logo-text .en {
        font-size: 0.55rem;
    }

    /* Hero */
    .hero {
        height: 50vh;
        min-height: 300px;
    }

    .hero-content h1 {
        font-size: 1.3rem;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }

    .hero-content .hero-subtitle {
        font-size: 0.82rem;
        margin-bottom: 18px;
    }

    .hero-content .hero-slogan {
        padding: 5px 16px;
        font-size: 0.78rem;
        letter-spacing: 1px;
        margin-bottom: 18px;
    }

    .hero-buttons .btn {
        padding: 8px 20px;
        font-size: 0.82rem;
    }

    /* Page Banner */
    .page-banner {
        height: 160px;
    }

    .page-banner-content h1 {
        font-size: 1.15rem;
    }

    .page-banner-content .banner-desc {
        font-size: 0.78rem;
    }

    /* Gallery */
    .gallery {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-item .stat-number {
        font-size: 1.6rem;
    }

    /* Cards */
    .card-body {
        padding: 16px;
    }

    .card-img {
        height: 160px;
    }

    .feature-card {
        padding: 20px 14px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    /* Article */
    .article-header h1 {
        font-size: 1.2rem;
    }

    .article-meta {
        gap: 8px;
        font-size: 0.72rem;
    }

    .article-content {
        font-size: 0.85rem;
    }

    .article-content h2 {
        font-size: 1.05rem;
    }

    .article-content blockquote {
        padding: 12px 14px;
        font-size: 0.82rem;
    }

    /* News */
    .news-item-img {
        height: 140px;
    }

    .news-item-body {
        padding: 14px;
    }

    /* Footer QR */
    .footer-qr .qr-placeholder {
        width: 90px;
        height: 90px;
    }

    /* CTA */
    .cta-section h2 {
        font-size: 1.2rem;
    }

    .cta-section p {
        font-size: 0.82rem;
    }

    .cta-section .btn {
        width: 100%;
        max-width: 260px;
    }

    /* Buttons */
    .btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }

    .btn-lg {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    /* Accordion */
    .accordion-header {
        padding: 12px 14px;
        font-size: 0.85rem;
    }

    .accordion-body-inner {
        padding: 0 14px 14px;
        font-size: 0.82rem;
    }

    /* Contact Form */
    .contact-form {
        padding: 16px;
    }

    /* Map */
    .map-wrap iframe,
    .map-wrap #lbgxMap {
        height: 220px;
    }

    /* Legal */
    .legal-content h1 {
        font-size: 1.2rem;
    }

    /* Back to top */
    .back-to-top {
        width: 38px;
        height: 38px;
        bottom: 16px;
        right: 12px;
        font-size: 0.9rem;
    }

    /* Nav */
    .nav {
        width: 100%;
    }
}

/* ---- Very Small Phone (≤360px) ---- */
@media (max-width: 360px) {
    .container,
    .container-sm {
        padding: 0 10px;
    }

    .logo-text .name {
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.15rem;
    }
}
