:root {
    --primary: #2F4A3C;
    --primary-dark: #243A2E;
    --primary-light: #3B5B4A;
    --accent: #C6A15B;
    --accent-dark: #A88443;
    --bg-body: #F7F4EE;
    --bg-card: #FFFFFF;
    --bg-dark: #243A2E;
    --text-body: #3E3A33;
    --text-muted: #8A8478;
    --border: #E8E2D8;
    --error: #C05B4A;
    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --radius-pill: 999px;
    --shadow-default: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-hover: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-primary: 0 12px 32px rgba(47,74,60,0.18);
    --space-section: 80px;
    --space-mobile: 48px;
    --font-stack: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    --transition: all .25s ease;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-stack);
    background: var(--bg-body);
    color: var(--text-body);
    line-height: 1.7;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
.container { max-width: 1200px; padding-left: 24px; padding-right: 24px; }
section { position: relative; }

/* Buttons */
.btn { padding: 11px 26px; border-radius: var(--radius-sm); font-weight: 600; font-size: .9375rem; transition: var(--transition); }
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(47,74,60,.25);
}
.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(198,161,91,.3);
    color: #fff;
}
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: rgba(47,74,60,.08);
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline-light {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,.8);
    color: #fff;
}
.btn-outline-light:hover {
    background: rgba(255,255,255,.12);
    border-color: #fff;
    color: #fff;
}
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 12px; }

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 72px;
    background: rgba(247,244,238,.5);
    backdrop-filter: blur(0);
    transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.site-header.scrolled {
    background: rgba(247,244,238,.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(47,74,60,.08);
}
.site-header .navbar { padding: 0; height: 72px; }
.site-header .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--primary);
}
.brand-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 700;
    flex-shrink: 0;
}
.brand-text { white-space: nowrap; }
.site-header .navbar-nav { gap: 4px; }
.site-header .nav-link {
    padding: 10px 16px;
    font-size: .9375rem;
    font-weight: 500;
    color: var(--text-body);
    position: relative;
    transition: color .2s;
}
.site-header .nav-link::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 4px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .3s ease;
}
.site-header .nav-link:hover { color: var(--primary); }
.site-header .nav-link:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { padding: 8px 20px; font-size: .875rem; }
.navbar-toggler { border: none; font-size: 1.25rem; color: var(--primary); padding: 6px 10px; }
.navbar-toggler:focus { box-shadow: none; }

/* Hero */
.hero {
    min-height: 640px;
    display: flex;
    align-items: center;
    background: var(--bg-dark);
    padding: 120px 0 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/backpic/back-1.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(36,58,46,.9) 0%, rgba(36,58,46,.7) 45%, rgba(36,58,46,.35) 100%);
}
.hero-container { position: relative; z-index: 2; }
.hero-content { max-width: 680px; }
.hero-content h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: .5px;
}
.hero-subtitle {
    font-size: 1.0625rem;
    color: rgba(255,255,255,.88);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 640px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badge-tags {
    display: flex;
    gap: 8px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.hero-badge-tags span {
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(4px);
    color: rgba(255,255,255,.88);
    font-size: .8125rem;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255,255,255,.18);
}

/* Metrics Strip */
.metrics-strip {
    position: relative;
    z-index: 5;
    margin-top: -52px;
    padding-bottom: 24px;
}
.metrics-row { display: flex; }
.metric-col { margin-bottom: 16px; }
.metric-card {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-default);
    padding: 26px 18px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--border);
}
.metric-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}
.metric-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 6px;
}
.metric-label {
    font-size: .875rem;
    color: var(--text-muted);
    letter-spacing: .3px;
}

/* Section Head */
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}
.section-head h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.35;
    margin-bottom: 14px;
}
.section-head p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Services */
.services-section {
    padding: var(--space-section) 0;
}
.service-row-top { margin-bottom: 24px; }
.service-row-top .col-lg-7, .service-row-top .col-lg-5 { margin-bottom: 24px; }
.service-card {
    display: block;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-default);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border);
}
.service-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.service-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--primary-light);
}
.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.03); }
.service-card-img .badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--accent);
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    letter-spacing: .3px;
}
.service-card-body { padding: 24px; }
.service-card-body h3 {
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--text-body);
    margin-bottom: 8px;
    transition: color .2s;
}
.service-card:hover .service-card-body h3 { color: var(--primary); }
.service-card-body p {
    font-size: .9375rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 18px;
}
.service-meta {
    display: flex;
    align-items: center;
    gap: 0;
    border-top: 1px solid var(--border);
    padding-top: 14px;
    font-size: .8125rem;
    color: var(--text-muted);
}
.service-meta span {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.service-meta span + span { border-left: 1px solid var(--border); padding-left: 14px; }
.service-card-featured .service-card-body h3 { font-size: 1.375rem; }
.service-card-featured .service-card-body p { font-size: 1rem; }

/* Compare */
.compare-section {
    padding: var(--space-section) 0;
    background: #efece5;
}
.compare-card {
    border-radius: var(--radius-lg);
    padding: 28px;
    height: 100%;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-default);
    transition: var(--transition);
}
.compare-card:hover { box-shadow: var(--shadow-hover); }
.compare-card h3 {
    font-size: 1.1875rem;
    font-weight: 700;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.compare-normal h3 { color: var(--text-muted); }
.compare-premium {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-primary);
    position: relative;
}
.compare-premium h3 { color: var(--primary); }
.compare-premium .badge {
    background: var(--accent);
    color: #fff;
    font-size: .6875rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    letter-spacing: .3px;
}
.compare-list { display: flex; flex-direction: column; gap: 14px; }
.compare-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: .9375rem;
    line-height: 1.65;
    color: var(--text-body);
}
.compare-item .icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    margin-top: 2px;
}
.compare-normal .compare-item .icon {
    background: #eceae4;
    color: var(--text-muted);
}
.compare-premium .compare-item .icon {
    background: var(--primary);
    color: #fff;
}
.compare-item.dim { color: #a09b92; }

/* FAQ */
.faq-section {
    padding: var(--space-section) 0;
}
.faq-left h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 14px;
}
.faq-left p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item {
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-md) !important;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.03);
    overflow: hidden;
    transition: border-color .3s, box-shadow .3s;
}
.accordion-item:has(.accordion-collapse.show) {
    border-color: var(--primary) !important;
    box-shadow: 0 6px 24px rgba(47,74,60,.08);
}
.accordion-header { margin: 0; }
.accordion-button {
    padding: 18px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-body);
    background: transparent;
    border: none;
    box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
    background: rgba(47,74,60,.03);
    color: var(--primary);
}
.accordion-button:focus { box-shadow: none; }
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232F4A3C'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    transition: transform .35s ease;
}
.accordion-button:not(.collapsed)::after { transform: rotate(180deg); }
.accordion-body {
    padding: 6px 20px 20px;
    font-size: .9375rem;
    color: #5f5a52;
    line-height: 1.8;
}

/* Booking */
.booking-section {
    padding: var(--space-section) 0;
    background: #efece5;
}
.booking-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    padding: 40px;
    border: 1px solid var(--border);
}
.booking-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}
.booking-card .booking-sub {
    font-size: .9375rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}
.booking-form .form-label {
    font-size: .875rem;
    font-weight: 600;
    color: var(--text-body);
    margin-bottom: 6px;
}
.booking-form .form-control,
.booking-form .form-select {
    background: #fbfaf7;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    font-size: .9375rem;
    color: var(--text-body);
    transition: var(--transition);
}
.booking-form .form-control:focus,
.booking-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(47,74,60,.12);
    background: #fff;
}
.booking-form textarea.form-control { min-height: 110px; }
.booking-form .invalid-feedback { color: var(--error); font-size: .8125rem; }
.booking-form .form-control.is-invalid { border-color: var(--error); }
.booking-form .form-control.is-invalid:focus { box-shadow: 0 0 0 4px rgba(192,91,74,.12); }
.booking-form .btn { width: 100%; padding: 14px; font-size: 1rem; }
.booking-info {
    background: var(--bg-body);
    border-radius: var(--radius-md);
    padding: 28px;
    height: 100%;
    border: 1px solid var(--border);
}
.booking-info h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 18px;
}
.booking-info-item {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    align-items: flex-start;
}
.booking-info-item .icon {
    width: 36px;
    height: 36px;
    background: rgba(47,74,60,.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: .875rem;
    flex-shrink: 0;
}
.booking-info-item .text { font-size: .9375rem; line-height: 1.65; color: var(--text-body); }
.booking-info-item .text strong { display: block; font-size: .8125rem; color: var(--text-muted); font-weight: 500; margin-bottom: 2px; }

/* News */
.news-section {
    padding: var(--space-section) 0;
}
.news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.news-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    transition: var(--transition);
}
.news-item:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
    transform: translateX(4px);
}
.news-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 6px;
    align-items: center;
}
.news-category {
    background: rgba(47,74,60,.08);
    color: var(--primary);
    font-size: .75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}
.news-date {
    font-size: .8125rem;
    color: var(--text-muted);
}
.news-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-body);
    margin-bottom: 4px;
    transition: color .2s;
}
.news-item:hover .news-title { color: var(--primary); }
.news-excerpt {
    font-size: .875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 70ch;
}
.news-link {
    margin-left: auto;
    flex-shrink: 0;
    font-size: .875rem;
    font-weight: 600;
    color: var(--primary);
    opacity: .7;
    transition: opacity .2s;
}
.news-item:hover .news-link { opacity: 1; }
.news-empty {
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 60px 20px;
    text-align: center;
    color: var(--text-muted);
    background: #fbfaf7;
}
.news-empty i { font-size: 2rem; color: var(--border); margin-bottom: 12px; display: inline-block; }
.news-empty p { font-size: .9375rem; }

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,.75);
    padding: 56px 0 0;
}
.site-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #fff;
    font-weight: 700;
    font-size: 1.0625rem;
}
.site-footer .footer-desc {
    font-size: .875rem;
    line-height: 1.8;
    color: rgba(255,255,255,.6);
    max-width: 320px;
    margin-bottom: 0;
}
.site-footer h5 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 18px;
}
.site-footer ul { padding: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a {
    color: rgba(255,255,255,.6);
    font-size: .875rem;
    transition: color .2s;
    padding-left: 12px;
    position: relative;
}
.site-footer ul a::before {
    content: "·";
    position: absolute;
    left: 0;
    color: var(--accent);
}
.site-footer ul a:hover { color: #fff; }
.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: rgba(255,255,255,.6);
    font-size: .875rem;
}
.footer-contact i { color: var(--accent); margin-top: 3px; }
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8125rem;
    color: #fff;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 40px;
    padding: 20px 0;
    font-size: .8125rem;
    color: rgba(255,255,255,.45);
    text-align: center;
}

/* Back to top */
.back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9375rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 998;
    box-shadow: var(--shadow-default);
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* Responsive */
@media (max-width: 991.98px) {
    .site-header { height: 60px; }
    .site-header .navbar { height: 60px; }
    .site-header .navbar-collapse {
        background: var(--bg-body);
        padding: 16px 20px;
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        box-shadow: var(--shadow-hover);
        margin-top: 10px;
    }
    .site-header .navbar-nav { gap: 0; }
    .site-header .nav-link { padding: 12px 16px; font-size: 1rem; }
    .nav-actions { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); gap: 12px; }
    .nav-actions .btn { flex: 1; text-align: center; }
    .hero { padding: 100px 0 64px; min-height: auto; }
    .hero-content h1 { font-size: 2.2rem; }
    .metrics-strip { margin-top: -36px; }
    .services-section, .compare-section, .faq-section, .booking-section, .news-section { padding: var(--space-mobile) 0; }
    .booking-card { padding: 28px; }
    .booking-info { margin-top: 24px; }
    .news-item { flex-wrap: wrap; padding: 18px; }
    .news-excerpt { white-space: normal; max-width: 100%; }
    .news-link { margin-left: 0; }
}
@media (max-width: 767.98px) {
    .hero-content h1 { font-size: 1.75rem; line-height: 1.35; }
    .hero-subtitle { font-size: .9375rem; }
    .hero-actions .btn { width: 100%; }
    .section-head h2 { font-size: 1.5rem; }
    .section-head p { font-size: .875rem; }
    .metric-num { font-size: 1.625rem; }
    .metric-card { padding: 20px 12px; }
    .service-card-body { padding: 18px; }
    .service-meta span + span { padding-left: 8px; }
    .service-meta { font-size: .75rem; }
    .compare-card { padding: 20px; }
    .booking-card { padding: 22px; }
    .booking-card h2 { font-size: 1.375rem; }
    .faq-left { margin-bottom: 28px; }
    .accordion-button { font-size: .9375rem; padding: 16px 14px; }
    .accordion-body { padding: 4px 14px 16px; }
    .news-item { flex-direction: column; gap: 8px; }
    .news-meta { margin-bottom: 2px; }
    .footer-contact li { width: 100%; }
    .back-top { bottom: 20px; right: 20px; width: 38px; height: 38px; }
}
@media (max-width: 575.98px) {
    .container { padding-left: 18px; padding-right: 18px; }
    .brand-text { font-size: .9375rem; }
    .hero { padding: 88px 0 52px; }
    .hero-content h1 { font-size: 1.625rem; }
    .hero-subtitle { font-size: .875rem; }
    .hero-badge-tags span { font-size: .75rem; padding: 4px 10px; }
    .metric-num { font-size: 1.5rem; }
    .metric-label { font-size: .7813rem; }
    .btn { padding: 10px 20px; font-size: .875rem; }
}

:root {
    --primary: #2F4A3C;
    --primary-dark: #243A2E;
    --primary-light: #3B5B4A;
    --accent: #C6A15B;
    --accent-dark: #A88443;
    --bg-body: #F7F4EE;
    --bg-card: #FFFFFF;
    --bg-dark: #243A2E;
    --text-body: #3E3A33;
    --text-muted: #8A8478;
    --border: #E8E2D8;
    --error: #C05B4A;
    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --radius-pill: 999px;
    --shadow-default: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-hover: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-primary: 0 12px 32px rgba(47,74,60,0.18);
    --space-section: 80px;
    --space-mobile: 48px;
    --font-stack: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    --transition: all .25s ease;
}
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-stack);
    background: var(--bg-body);
    color: var(--text-body);
    line-height: 1.7;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
.container { max-width: 1200px; padding-left: 24px; padding-right: 24px; }
section { position: relative; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--primary); line-height: 1.3; }
a:focus-visible, button:focus-visible, .btn:focus-visible, .nav-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    box-shadow: none;
}
.btn {
    padding: 11px 26px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .9375rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1.4;
}
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(47,74,60,.25);
    color: #fff;
}
.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(198,161,91,.3);
    color: #fff;
}
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: rgba(47,74,60,.08);
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline-light {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,.8);
    color: #fff;
}
.btn-outline-light:hover {
    background: rgba(255,255,255,.12);
    border-color: #fff;
    color: #fff;
}
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 12px; }
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 72px;
    background: rgba(247,244,238,.5);
    backdrop-filter: blur(0);
    transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.site-header.scrolled {
    background: rgba(247,244,238,.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(47,74,60,.08);
}
.site-header .navbar { padding: 0; height: 72px; }
.site-header .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--primary);
}
.brand-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 700;
    flex-shrink: 0;
}
.brand-text { white-space: nowrap; }
.site-header .navbar-nav { gap: 4px; }
.site-header .nav-link {
    padding: 10px 16px;
    font-size: .9375rem;
    font-weight: 500;
    color: var(--text-body);
    position: relative;
    transition: color .2s;
}
.site-header .nav-link::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 4px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .3s ease;
}
.site-header .nav-link:hover { color: var(--primary); }
.site-header .nav-link:hover::after { transform: scaleX(1); }
.site-header .nav-link.active { color: var(--primary); font-weight: 600; }
.site-header .nav-link.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { padding: 8px 20px; font-size: .875rem; }
.navbar-toggler { border: none; font-size: 1.25rem; color: var(--primary); padding: 6px 10px; }
.navbar-toggler:focus { box-shadow: none; }
.article-hero {
    position: relative;
    background: var(--bg-dark);
    padding: 140px 0 70px;
    overflow: hidden;
}
.article-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/backpic/back-3.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.article-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(36,58,46,.93) 0%, rgba(36,58,46,.78) 50%, rgba(36,58,46,.45) 100%);
}
.article-hero-content { position: relative; z-index: 2; }
.breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: .875rem;
    color: rgba(255,255,255,.75);
    margin-bottom: 22px;
}
.breadcrumb-nav a { color: rgba(255,255,255,.85); }
.breadcrumb-nav a:hover { color: var(--accent); }
.breadcrumb-nav i { font-size: .75rem; color: rgba(255,255,255,.5); }
.breadcrumb-nav .crumb-current {
    color: #fff;
    max-width: 420px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.article-hero-content h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    margin-bottom: 18px;
    max-width: 860px;
    letter-spacing: .3px;
}
.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    font-size: .875rem;
    color: rgba(255,255,255,.78);
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta .meta-tag {
    background: rgba(198,161,91,.2);
    border: 1px solid rgba(198,161,91,.45);
    color: #f2d9a4;
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    font-size: .8125rem;
}
.article-body { padding: 48px 0 calc(var(--space-section) + 20px); }
.article-main { margin-bottom: 56px; }
.article-entry {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 46px 52px;
    box-shadow: var(--shadow-default);
}
.article-entry h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary);
    margin: 2rem 0 1rem;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(198,161,91,.25);
}
.article-entry h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1.75rem 0 .85rem;
}
.article-entry p {
    margin-bottom: 1.25rem;
    font-size: 1.0625rem;
    line-height: 1.85;
    color: #3E3A33;
}
.article-entry blockquote {
    border-left: 4px solid var(--accent);
    background: rgba(198,161,91,.08);
    padding: 16px 24px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 1.6rem 0;
    color: #5B5448;
    font-size: 1rem;
    line-height: 1.8;
}
.article-entry ul,
.article-entry ol {
    margin-bottom: 1.4rem;
    padding-left: 1.4rem;
    font-size: 1.0625rem;
    line-height: 1.8;
}
.article-entry li { margin-bottom: .45rem; }
.article-entry img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-default);
    margin: 1.8rem auto;
    max-width: 100%;
}
.article-entry code {
    background: #F1EDE5;
    color: #7A5A22;
    padding: 2px 8px;
    border-radius: 5px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: .92em;
}
.article-entry pre {
    background: var(--bg-dark);
    color: #EDE8DC;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin: 1.6rem 0;
    line-height: 1.7;
}
.article-entry pre code { background: transparent; color: inherit; padding: 0; }
.article-entry a { color: var(--primary); border-bottom: 1px solid var(--accent); }
.article-entry a:hover { color: var(--accent-dark); border-bottom-color: var(--accent-dark); }
.article-toolbar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 34px;
}
.related-posts {
    border-top: 1px solid var(--border);
    padding-top: 48px;
}
.related-head {
    text-align: center;
    margin-bottom: 32px;
}
.related-head h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.related-head h2 i { color: var(--accent); font-size: 1.5rem; }
.related-head p {
    color: var(--text-muted);
    font-size: .9375rem;
    margin: 0;
}
.related-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow-default);
    transition: var(--transition);
    height: 100%;
}
.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.related-card .thumb {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform .4s ease;
}
.related-card:hover .thumb { transform: scale(1.035); }
.related-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.related-card-body .date {
    font-size: .8125rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.related-card-body .date i { color: var(--accent); }
.related-card-body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--text-body);
    margin: 0;
    transition: color .2s ease;
}
.related-card:hover .related-card-body h3 { color: var(--primary); }
.related-card-body .read-more {
    margin-top: auto;
    font-size: .875rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.related-card-body .read-more i { transition: transform .25s ease; }
.related-card:hover .read-more i { transform: translateX(4px); }
.related-card-body .cat-badge {
    font-size: .75rem;
    background: rgba(47,74,60,.08);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    display: inline-block;
    width: fit-content;
    margin-bottom: 2px;
}
.empty-state {
    text-align: center;
    background: #fff;
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 72px 32px;
    margin-bottom: 40px;
}
.empty-state .empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(198,161,91,.12);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 20px;
}
.empty-state h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}
.empty-state p {
    color: var(--text-muted);
    font-size: .9375rem;
    margin-bottom: 26px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}
.empty-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.site-footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,.8);
    padding: 60px 0 0;
    position: relative;
    margin-top: 0;
}
.site-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.site-footer .footer-desc {
    font-size: .875rem;
    line-height: 1.8;
    color: rgba(255,255,255,.65);
    margin-bottom: 20px;
    max-width: 340px;
}
.site-footer .footer-social { display: flex; gap: 10px; }
.site-footer .footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.8);
    font-size: .95rem;
    transition: var(--transition);
}
.site-footer .footer-social a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}
.site-footer h5 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: .5px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul li a {
    color: rgba(255,255,255,.65);
    font-size: .875rem;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.site-footer ul li a:hover { color: var(--accent); padding-left: 5px; }
.site-footer .footer-contact li {
    color: rgba(255,255,255,.7);
    font-size: .875rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.site-footer .footer-contact li i { color: var(--accent); width: 16px; text-align: center; font-size: .9rem; }
.footer-bottom {
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 18px 0;
    text-align: center;
    font-size: .8125rem;
    color: rgba(255,255,255,.45);
}
@media (max-width: 991.98px) {
    :root { --space-section: 56px; --space-mobile: 40px; }
    .site-header { height: 60px; }
    .site-header .navbar { height: 60px; }
    .navbar-collapse {
        background: rgba(247,244,238,.98);
        border-radius: 0 0 16px 16px;
        padding: 12px 16px 20px;
        box-shadow: 0 16px 32px rgba(0,0,0,.08);
    }
    .site-header .navbar-nav { margin-top: 8px; gap: 2px; }
    .site-header .nav-link { padding: 12px 14px; border-radius: 8px; }
    .site-header .nav-link::after { display: none; }
    .nav-actions { width: 100%; margin-top: 8px; }
    .nav-actions .btn { flex: 1; justify-content: center; }
    .article-hero { padding: 110px 0 56px; }
    .article-hero-content h1 { font-size: 1.75rem; }
    .article-entry { padding: 32px 28px; }
}
@media (max-width: 767.98px) {
    .article-hero { padding: 100px 0 48px; }
    .article-hero-content h1 { font-size: 1.5rem; }
    .article-meta { gap: 12px; font-size: .8125rem; }
    .breadcrumb-nav { font-size: .8125rem; }
    .breadcrumb-nav .crumb-current { max-width: 180px; }
    .article-body { padding: 32px 0 56px; }
    .article-entry {
        padding: 24px 18px;
        border-radius: var(--radius-md);
    }
    .article-entry p { font-size: 1rem; }
    .article-entry h3 { font-size: 1.2rem; }
    .article-entry h4 { font-size: 1.05rem; }
    .related-head h2 { font-size: 1.35rem; }
    .empty-state { padding: 52px 20px; }
    .site-footer { padding-top: 44px; }
    .footer-bottom { margin-top: 30px; }
    .btn { padding: 9px 18px; font-size: .875rem; }
}

/* roulang: framework shim */
/* 覆盖 Bootstrap 等对 a/btn 的全局默认，避免导航出现下划线/蓝链 */
.site-header a,.site-header a:hover,.navbar a,.navbar a:hover,.nav-links a,.nav-links a:hover,header nav a,header nav a:hover{text-decoration:none}
.site-header .btn,.navbar .btn,.nav-cta{text-decoration:none}
