/* ==========================================================================
   Wolongsi Cemetery - Modern Responsive CSS Design System
   ========================================================================== */

:root {
    /* Color System */
    --primary: #a91d22;
    --primary-hover: #8f1418;
    --secondary: #c5a059;
    --secondary-hover: #ae8b47;
    --secondary-light: #fbf8f3;
    --forest-green: #2d5a27;
    
    --bg-white: #ffffff;
    --bg-light: #f7f8fa;
    --bg-dark: #1f2124;
    --bg-dark-light: #2c2e31;
    
    --text-dark: #202224;
    --text-muted: #5e646a;
    --text-light: #8e959c;
    --text-white: #ffffff;
    
    --border-color: #e5e8ec;
    --border-color-dark: #3a3d42;
    
    /* Typography */
    --font-serif: "Noto Serif SC", "Georgia", "Times New Roman", serif;
    --font-sans: "Outfit", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    /* Layout & Styling */
    --container-width: 1200px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.3;
}

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

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

.bg-light {
    background-color: var(--bg-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(169, 29, 34, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.btn-outline:hover {
    background-color: var(--text-dark);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 36px;
    font-size: 18px;
}

.btn-block {
    display: flex;
    width: 100%;
}

.rounded {
    border-radius: var(--border-radius-md);
}

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

/* ==========================================================================
   Header Styles
   ========================================================================== */

.site-header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-topbar {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-size: 13px;
    padding: 8px 0;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.topbar-contacts {
    display: flex;
    align-items: center;
    gap: 12px;
}

.highlight-tel {
    color: var(--secondary);
    font-weight: 700;
}

.separator {
    color: var(--text-light);
}

.header-main {
    padding: 16px 0;
}

.main-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo a {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Navigation Drawer (Responsive) */
.site-nav {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-list a {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    padding: 6px 0;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-list a.active {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   Home Page Styles (Banner, badges, section headers)
   ========================================================================== */

.banner-section-clean {
    position: relative;
    width: 100%;
    background-color: var(--bg-light);
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-cta-bar {
    background-color: var(--secondary-light);
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
}

.cta-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cta-text {
    font-size: 16px;
    color: var(--text-dark);
    flex: 1 1 500px;
    line-height: 1.5;
}

.cta-text strong {
    color: var(--primary);
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-actions .btn {
    padding: 10px 24px;
    font-size: 15px;
}

/* Quick Badges */
.quick-badges-section {
    background-color: var(--secondary-light);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    align-items: center;
    gap: 16px 48px;
}

.badge-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--forest-green);
    color: var(--text-white);
    font-size: 12px;
    font-weight: 700;
}

.badge-item p {
    font-weight: 600;
    color: var(--forest-green);
}

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

.section-title {
    font-size: 34px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin: 0 auto;
}

/* Intro Grid */
.intro-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: stretch;
}

.intro-image-wrap {
    height: 100%;
    min-height: 260px;
}

.intro-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-md);
}

.intro-text p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-indent: 2em;
    text-align: justify;
}

.intro-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.highlight-box {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: var(--border-radius-md);
    border-top: 3px solid var(--primary);
    text-align: center;
    transition: var(--transition-smooth);
}

.highlight-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.highlight-title {
    display: inline-block;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--text-white);
    font-size: 20px;
    line-height: 42px;
    text-align: center;
    margin-bottom: 12px;
    font-family: var(--font-serif);
}

.highlight-box p {
    font-size: 14px;
    margin: 0;
    text-indent: 0;
    color: var(--text-dark);
    font-weight: 500;
}

/* ==========================================================================
   Gallery & Image Grids (Scenery and Tombstones)
   ========================================================================== */

.scenery-grid, .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: 30px;
}

.gallery-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

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

.gallery-img-wrap {
    overflow: hidden;
    height: 240px;
}

.gallery-img-wrap img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

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

.gallery-info {
    padding: 16px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.gallery-info h4 {
    font-size: 18px;
    color: var(--text-dark);
}

.view-more-wrap {
    text-align: center;
    margin-top: 40px;
}

/* Q&A Section Styles */
.qa-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.qa-card {
    background-color: var(--bg-white);
    padding: 24px;
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--secondary);
    box-shadow: var(--shadow-sm);
}

.qa-question {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.qa-q-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: var(--text-white);
    font-size: 13px;
    font-weight: 700;
}

.qa-question h4 {
    font-size: 18px;
    color: var(--text-dark);
}

.qa-answer {
    color: var(--text-muted);
    font-size: 15px;
    padding-left: 36px;
}

/* News List Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--bg-white);
    padding: 28px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.news-date {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.news-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.news-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

.news-link:hover {
    color: var(--primary-hover);
}

/* ==========================================================================
   Article Detail Page
   ========================================================================== */

.article-container {
    max-width: 800px;
    margin: 0 auto;
}

.article-breadcrumb {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.active-crumb {
    color: var(--text-muted);
}

.article-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.article-detail-title {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.article-meta {
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    gap: 20px;
}

.article-body-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 24px;
    text-indent: 2em;
    text-align: justify;
}

.article-footer-notice {
    background-color: var(--secondary-light);
    border: 1px solid #ebdcb9;
    padding: 24px;
    border-radius: var(--border-radius-md);
    margin: 40px 0;
}

.article-footer-notice p {
    margin-bottom: 8px;
    font-size: 15px;
}

.article-footer-notice a {
    color: var(--primary);
    font-weight: 700;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.nav-prev, .nav-next {
    display: flex;
    flex-direction: column;
    max-width: 48%;
}

.nav-next {
    align-items: flex-end;
    text-align: right;
}

.nav-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.nav-title {
    font-weight: 600;
    color: var(--text-dark);
}

.nav-prev:hover .nav-title,
.nav-next:hover .nav-title {
    color: var(--primary);
}

.nav-disabled {
    color: var(--text-light);
    font-size: 14px;
    font-style: italic;
}

/* ==========================================================================
   News List Page
   ========================================================================== */

.news-list-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.news-list-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.news-list-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.news-card-date {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.news-card-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.news-card-title a:hover {
    color: var(--primary);
}

.news-card-excerpt {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.news-card-link {
    color: var(--primary);
    font-weight: 600;
}

/* Pagination */
.pagination-wrap {
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    font-size: 15px;
    font-weight: 600;
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination a.active-page {
    background-color: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

/* ==========================================================================
   About Page & Sidebar Layout
   ========================================================================== */

.page-banner-clean {
    position: relative;
    width: 100%;
    background-color: var(--bg-light);
    overflow: hidden;
}

.page-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

.page-title-section {
    padding: 40px 0 20px;
    text-align: center;
}

.page-title-section h2 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.page-title-section p {
    font-size: 15px;
    color: var(--text-muted);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 48px;
}

.about-main-text h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 20px;
    border-left: 4px solid var(--primary);
    padding-left: 12px;
}

.text-block p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-indent: 2em;
    text-align: justify;
}

.ideals-list {
    margin-top: 20px;
}

.ideals-list li {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.ideals-list li::before {
    content: "•";
    color: var(--primary);
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

.about-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-box {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--border-radius-md);
}

.contact-box h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.tel-item {
    margin-bottom: 16px;
}

.tel-item span {
    display: block;
    font-size: 13px;
    color: var(--text-light);
}

.sidebar-tel {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.address-item {
    margin-top: 24px;
}

.address-item span {
    display: block;
    font-size: 13px;
    color: var(--text-light);
}

.address-item strong {
    font-size: 15px;
    color: var(--text-dark);
}

.sidebar-qr-wrap {
    margin-top: 30px;
    text-align: center;
    border-top: 1px dashed var(--border-color);
    padding-top: 24px;
}

.qr-img {
    margin: 0 auto 12px;
    max-width: 190px;
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 6px;
    background-color: var(--bg-white);
}

.qr-label {
    font-size: 13px;
    color: var(--text-muted);
}

/* ==========================================================================
   Q&A Details Page
   ========================================================================== */

.qa-intro {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.qa-intro h3 {
    font-size: 26px;
    margin-bottom: 12px;
}

.qa-intro p {
    font-size: 16px;
    color: var(--text-muted);
}

.qa-category-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.qa-group-card {
    background-color: var(--bg-white);
    margin-bottom: 40px;
}

.qa-group-title {
    font-size: 22px;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 8px;
    margin-bottom: 20px;
    font-family: var(--font-serif);
}

.qa-group-list {
    padding: 0;
}

.qa-item-detail {
    padding: 16px 0 24px;
}

.qa-q {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.q-badge {
    background-color: var(--primary);
    color: var(--text-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}

.qa-q h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
}

.qa-a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-left: 36px;
}

.a-badge {
    background-color: var(--forest-green);
    color: var(--text-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}

.qa-a p {
    font-size: 15px;
    color: var(--text-muted);
}

/* ==========================================================================
   Tombstone Additional Styles
   ========================================================================== */

.contact-banner-box {
    margin-top: 60px;
    background-color: var(--secondary-light);
    border: 1px solid #ebdcb9;
    padding: 40px;
    border-radius: var(--border-radius-md);
    text-align: center;
}

.contact-banner-box h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.contact-banner-box p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ==========================================================================
   Process Step & Timeline Styles
   ========================================================================== */

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.process-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

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

.timeline-number {
    position: absolute;
    left: 0;
    top: 2px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 0 0 6px var(--bg-white);
    z-index: 2;
}

.timeline-content h4 {
    font-size: 19px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 15px;
    color: var(--text-muted);
}

/* Rules Grid */
.rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.rule-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--border-radius-md);
}

.rule-card h4 {
    font-size: 17px;
    color: var(--primary);
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.rule-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==========================================================================
   Service Details
   ========================================================================== */

.service-intro {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.service-intro h3 {
    font-size: 26px;
    margin-bottom: 12px;
}

.service-intro p {
    font-size: 16px;
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.service-card:hover {
    border-color: var(--forest-green);
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--secondary-light);
    color: var(--secondary);
    font-size: 20px;
    margin-bottom: 16px;
}

.service-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
}

.consultation-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 40px;
    border-radius: var(--border-radius-md);
    flex-wrap: wrap;
    gap: 20px;
}

.consultation-banner h4 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--secondary);
}

.consultation-banner p {
    color: var(--text-light);
}

/* ==========================================================================
   Modern Floating Widget
   ========================================================================== */

.modern-float-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 320px;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    z-index: 999;
    overflow: hidden;
    animation: slideUp 0.6s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.float-header {
    background-color: var(--primary);
    color: var(--text-white);
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.close-float {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 20px;
    cursor: pointer;
}

.float-body {
    padding: 18px;
}

.float-promo {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.5;
}

.float-promo b {
    color: var(--primary);
}

.float-actions {
    margin-top: 16px;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

.site-footer {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color-dark);
}

.footer-brand h4, .footer-links h4, .footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary);
    letter-spacing: 1px;
}

.footer-desc {
    color: var(--text-light);
    font-size: 14px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-contact p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-contact strong {
    font-size: 18px;
    color: var(--text-white);
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--text-light);
}

.beian a:hover {
    color: var(--secondary);
}

/* ==========================================================================
   Media Queries & Responsive Styling (自适应)
   ========================================================================== */

@media (max-width: 991px) {
    .intro-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .intro-image-wrap {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
    
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .banner-title {
        font-size: 32px;
    }
    
    .banner-subtitle {
        font-size: 16px;
    }
    
    .banner-section {
        height: 420px;
    }
    
    .qa-grid, .services-grid, .rules-grid, .news-grid, .scenery-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }

    .badges-grid {
        grid-template-columns: repeat(3, auto);
        gap: 12px 14px;
        font-size: 14px;
    }
    .badge-item p { font-size: 14px; }
    .badge-item { gap: 6px; }

    .intro-image-wrap {
        min-height: 200px;
    }
    
    /* Responsive Header & Navigation */
    .nav-toggle {
        display: flex;
    }
    
    .site-nav {
        position: fixed;
        top: 72px; /* Below main header (topbar removed) */
        left: 0;
        width: 100%;
        max-width: 100%;
        height: calc(100vh - 72px);
        background-color: var(--bg-white);
        z-index: 999;
        transition: transform 0.3s ease;
        transform: translateX(-100%);
        padding: 40px 24px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }

    .nav-open {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 20px;
    }
    
    .nav-list li {
        width: 100%;
    }
    
    .nav-list a {
        display: block;
        width: 100%;
        font-size: 18px;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .toggle-active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .toggle-active span:nth-child(2) {
        opacity: 0;
    }
    
    .toggle-active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .intro-highlights {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .article-detail-title {
        font-size: 26px;
    }
    
    .modern-float-widget {
        width: calc(100% - 40px);
        left: 20px;
        bottom: 20px;
    }

    .cta-bar-inner {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        text-align: center;
        gap: 16px;
    }

    .cta-text {
        flex: none;
    }

    .cta-actions {
        justify-content: center;
    }
}

/* 关于页 园区实景 */
.about-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}
.about-photos figure { margin: 0; }
.about-photos img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.about-photos figcaption {
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
}
@media (max-width: 768px) {
    .about-photos { grid-template-columns: 1fr; }
}

/* 手机端底部固定「电话咨询」栏 */
.mobile-call-bar { display: none; }
@media (max-width: 768px) {
    .mobile-call-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        height: 52px;
        background: var(--primary);
        color: #fff;
        font-size: 17px;
        font-weight: 600;
        letter-spacing: 1px;
        z-index: 900;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
    }
    .mobile-call-bar .call-ico { font-size: 20px; line-height: 1; }
    body { padding-bottom: 52px; }
}

/* CTA 浅底电话按钮 */
.btn-phone {
    background-color: #fff;
    color: var(--primary);
    border-color: var(--primary);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.btn-phone:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* 微信置顶区 */
.wechat-top-section {
    background: var(--bg-white);
    padding: 32px 0;
    border-top: 1px solid var(--border-color);
}
.wechat-top-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}
.wechat-top-qr {
    width: 128px;
    height: auto;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 6px;
    background: #fff;
}
.wechat-top-text h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 8px;
}
.wechat-top-text p {
    color: var(--text-muted);
    max-width: 520px;
}
@media (max-width: 768px) {
    .wechat-top-inner { flex-direction: column; text-align: center; gap: 14px; }
    .wechat-top-text h3 { font-size: 19px; }
    .wechat-top-text p { font-size: 14px; }
}


/* ==========================================================================
   Free Services block (homepage intro)
   ========================================================================== */
.free-services {
    margin-top: 32px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-md);
    border-top: 3px solid var(--primary);
    padding: 24px 28px;
}
.free-services-title {
    font-size: 20px;
    color: var(--text-dark);
    margin: 0 0 18px;
    text-align: center;
    font-weight: 700;
}
.free-services-title span { color: var(--primary); }
.free-services-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}
.free-services-list li {
    position: relative;
    padding-left: 24px;
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
}
.free-services-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}
@media (max-width: 768px) {
    .free-services-list { grid-template-columns: 1fr; }
}
