/* ==========================================
   广东省玉器商会价值评估中心 官网样式
   翡翠绿 · 暖金 · 米白（中式雅韵 · 现代大气）
   ========================================== */

/* === Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700;900&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* === CSS Variables === */
:root {
    /* 背景 */
    --bg: #FAF6EE;               /* 暖米白 */
    --bg-alt: #F1F6F1;           /* 极浅翡翠绿（交替分区） */
    --surface: #FFFFFF;          /* 卡片白 */

    /* 品牌色 */
    --jade: #1E7A55;             /* 翡翠绿 */
    --jade-deep: #0F4A34;        /* 深翡翠绿 */
    --jade-soft: #EAF3EE;        /* 浅翡翠绿 */
    --gold: #C2A14D;             /* 暖金 */
    --gold-light: #D9C188;       /* 浅金 */
    --gold-deep: #A9883A;        /* 深金 */
    --gold-soft: #F6EEDC;        /* 浅金背景 */

    /* 文字 */
    --ink: #26342C;
    --ink-soft: #5D6C63;
    --ink-dim: #97A39B;

    /* 兼容旧变量名（供页面内联样式引用） */
    --dark: #26342C;
    --dark-secondary: #0F4A34;
    --dark-card: #FFFFFF;
    --dark-border: #EAE3D2;
    --cream: #26342C;
    --cream-light: #FFFFFF;
    --text: #26342C;
    --text-muted: #5D6C63;
    --text-dim: #97A39B;

    --white: #FFFFFF;
    --red: #C0504D;

    --gradient-gold: linear-gradient(135deg, #C9A96E, #E0C98C);
    --gradient-jade: linear-gradient(135deg, #1E7A55, #2F9A73);
    --gradient-hero: linear-gradient(180deg, #FDFBF5 0%, #F4EFE0 55%, #F1F6F1 100%);

    /* 页脚 */
    --footer-bg: #0E3F2E;
    --footer-heading: #F3E9D2;
    --footer-text: #C7D6CC;
    --footer-muted: #9AB2A4;

    --shadow: 0 12px 40px rgba(38, 52, 44, 0.08);
    --shadow-lg: 0 24px 70px rgba(38, 52, 44, 0.12);
    --shadow-gold: 0 6px 20px rgba(194, 161, 77, 0.28);

    --radius: 10px;
    --radius-lg: 16px;
    --font-heading: 'Noto Serif SC', 'STSong', 'SimSun', serif;
    --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --header-h: 80px;
    --max-width: 1200px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color 0.3s; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; }

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

/* === Typography === */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 600; line-height: 1.45; color: var(--ink); }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; text-align: center; margin-bottom: 0.5rem; }
h3 { font-size: 1.5rem; }

.section-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--ink);
    text-align: center;
    margin-bottom: 0.5rem;
}
.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--gold-deep);
    text-align: center;
    margin-bottom: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}
.section-divider {
    width: 64px;
    height: 2px;
    background: var(--gradient-gold);
    margin: 0 auto 3rem;
    position: relative;
}
.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    top: -2px;
    width: 6px;
    height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
}
.section-divider::before { left: -14px; }
.section-divider::after { right: -14px; }

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 13px 34px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 2px;
}
.btn-primary {
    background: var(--gradient-jade);
    color: #fff;
    box-shadow: 0 8px 22px rgba(30, 122, 85, 0.28);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(30, 122, 85, 0.36);
    color: #fff;
}
.btn-outline {
    border: 1.5px solid var(--jade);
    color: var(--jade);
    background: transparent;
}
.btn-outline:hover {
    background: var(--jade);
    color: #fff;
    transform: translateY(-2px);
}

/* === Header / Navigation === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(250, 246, 238, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(194, 161, 77, 0.25);
    box-shadow: 0 2px 24px rgba(38, 52, 44, 0.05);
    transition: all 0.3s ease;
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo { display: flex; align-items: center; gap: 13px; }
.logo-icon {
    width: 46px;
    height: 46px;
    background: var(--gradient-jade);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25), 0 4px 14px rgba(30, 122, 85, 0.3);
}
.logo-icon.has-logo {
    width: auto;
    height: 46px;
    max-width: 220px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}
.logo-icon.has-logo img {
    display: block;
    height: 100%;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}
.logo-text h1 {
    font-size: 1.12rem;
    color: var(--ink);
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
}
.logo-text span {
    font-size: 0.62rem;
    color: var(--gold-deep);
    font-family: var(--font-body);
    letter-spacing: 1.5px;
}

.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav a {
    font-size: 0.95rem;
    color: var(--ink-soft);
    position: relative;
    padding: 8px 0;
    transition: color 0.3s;
}
.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--jade);
    transition: width 0.3s ease;
}
.nav a:hover, .nav a.active { color: var(--jade); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
}
.menu-toggle span {
    width: 26px;
    height: 2px;
    background: var(--jade);
    transition: all 0.3s;
    border-radius: 2px;
}

/* === Hero Section === */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: 4rem 0 5.5rem;
}
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -8%;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(30, 122, 85, 0.10) 0%, transparent 68%);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -14%;
    left: -6%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(194, 161, 77, 0.14) 0%, transparent 68%);
    border-radius: 50%;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
    padding: 0 20px;
}
.hero-badge {
    display: inline-block;
    padding: 8px 26px;
    border: 1px solid rgba(194, 161, 77, 0.5);
    border-radius: 50px;
    color: var(--gold-deep);
    background: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    letter-spacing: 4px;
    margin-bottom: 2.2rem;
    font-family: var(--font-body);
}
.hero-title {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 1.6rem;
    line-height: 1.35;
    letter-spacing: 2px;
}
.hero-title .gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-desc {
    font-size: 1.08rem;
    color: var(--ink-soft);
    margin-bottom: 2.6rem;
    line-height: 2;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}
.hero-buttons { display: flex; gap: 1.1rem; justify-content: center; flex-wrap: wrap; }

/* Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #fff;
}
.hero-carousel img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    display: none;
}
.hero-carousel img.active { display: block; }
.carousel-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}
.carousel-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.carousel-dots span.active { background: var(--jade); width: 30px; border-radius: 10px; }

/* === Section Common === */
section { padding: 5.5rem 0; }
.section-dark { background: var(--bg); }
.section-alt { background: var(--bg-alt); }

/* 首页首屏轮播：顶部让开固定导航，轮播占满整页宽度 */
.home-banner {
    padding: var(--header-h) 0 0;
    background: var(--jade-deep);
}
.home-banner .container {
    max-width: none;
    padding: 0;
}
.home-banner .hero-carousel {
    max-width: none;
    border-radius: 0;
    box-shadow: none;
}

/* === Advantages === */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.adv-card {
    background: var(--surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 2.8rem 2.2rem;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.adv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-jade);
    transform: scaleX(0);
    transition: transform 0.35s ease;
}
.adv-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 122, 85, 0.25);
}
.adv-card:hover::before { transform: scaleX(1); }

.adv-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 1.6rem;
    background: var(--jade-soft);
    border: 1px solid rgba(30, 122, 85, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--jade);
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.6);
}
.adv-card h3 {
    font-family: var(--font-heading);
    font-size: 1.22rem;
    color: var(--ink);
    margin-bottom: 1rem;
}
.adv-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.9;
}

/* === About Section === */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--gold-light);
    border-radius: var(--radius-lg);
    opacity: 0.5;
    z-index: -1;
}
.about-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--ink);
    margin-bottom: 1.5rem;
}
.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    line-height: 2;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}
.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--dark-border);
    font-size: 0.9rem;
    color: var(--ink);
    box-shadow: 0 2px 10px rgba(38, 52, 44, 0.04);
}
.about-feature .icon {
    color: var(--jade);
    font-weight: 700;
}

/* === Services === */
.services-list { display: flex; flex-direction: column; gap: 2rem; }
.service-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2.6rem;
    background: var(--surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 2.6rem;
    transition: all 0.35s ease;
    align-items: center;
    box-shadow: var(--shadow);
}
.service-item:hover {
    border-color: rgba(30, 122, 85, 0.25);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
.service-img {
    border-radius: var(--radius);
    overflow: hidden;
    height: 210px;
}
.service-img img { width: 100%; height: 100%; object-fit: cover; }
.service-num {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 900;
    color: rgba(194, 161, 77, 0.28);
    margin-bottom: 0.5rem;
}
.service-info h3 {
    font-size: 1.35rem;
    color: var(--ink);
    margin-bottom: 0.9rem;
}
.service-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.9;
    margin-bottom: 1.1rem;
}
.service-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.service-tag {
    display: inline-block;
    padding: 4px 15px;
    background: var(--jade-soft);
    color: var(--jade);
    border-radius: 50px;
    font-size: 0.8rem;
    border: 1px solid rgba(30, 122, 85, 0.2);
}

/* === News Section === */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.news-card {
    background: var(--surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: var(--shadow);
    display: block;
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 122, 85, 0.25);
}
.news-thumb {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-cat {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 4px 15px;
    background: var(--jade);
    color: #fff;
    font-size: 0.75rem;
    border-radius: 4px;
    font-family: var(--font-body);
}
.news-body { padding: 1.6rem; }
.news-body h3 {
    font-size: 1.1rem;
    color: var(--ink);
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
    min-height: 3.2em;
}
.news-body p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}
.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-dim);
    padding-top: 1rem;
    border-top: 1px solid var(--dark-border);
}

/* === Contact Section === */
.contact-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}
.contact-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem 2rem;
    align-items: stretch;
}
.contact-info h3 {
    grid-column: 1 / -1;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--ink);
    margin: 0 0 0.4rem;
}
.contact-info h3:not(:first-child) {
    margin-top: 1.6rem;
}
.contact-info .contact-item { margin-bottom: 0; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--dark-border);
    box-shadow: 0 2px 10px rgba(38, 52, 44, 0.04);
}
.contact-item .icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    background: var(--jade-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jade);
}
.contact-item .icon svg { width: 22px; height: 22px; }
.contact-item .info h4 {
    font-size: 0.9rem;
    color: var(--gold-deep);
    margin-bottom: 4px;
}
.contact-item .info p { color: var(--text-muted); font-size: 0.9rem; }

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 350px;
    border: 1px solid var(--dark-border);
    box-shadow: var(--shadow);
}
.contact-map iframe { width: 100%; height: 100%; border: none; }

/* === Form Group === */
.form-group { margin-bottom: 1.2rem; }
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--ink-soft);
    font-size: 0.9rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background: #FBF9F4;
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    color: var(--ink);
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--jade);
    box-shadow: 0 0 0 3px rgba(30, 122, 85, 0.12);
    background: #fff;
}
.form-group textarea { height: 150px; resize: vertical; }

/* === Footer === */
.footer {
    background: var(--footer-bg);
    padding: 4.5rem 0 1.5rem;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(194, 161, 77, 0.5), transparent);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-about h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--footer-heading);
    margin-bottom: 1rem;
}
.footer-about p {
    color: var(--footer-muted);
    font-size: 0.85rem;
    line-height: 1.9;
}
.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--footer-heading);
    margin-bottom: 1rem;
}
.footer-links a {
    display: block;
    color: var(--footer-muted);
    font-size: 0.85rem;
    padding: 6px 0;
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-links p { color: var(--footer-muted); font-size: 0.85rem; line-height: 2; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--footer-muted);
    font-size: 0.8rem;
}
.footer-bottom a {
    color: var(--gold-light);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s;
}
.footer-bottom a:hover { color: #fff; }

/* === Breadcrumb === */
.breadcrumb {
    padding: calc(var(--header-h) + 2.2rem) 0 2.2rem;
    text-align: center;
    background: linear-gradient(180deg, var(--jade-soft) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--dark-border);
}
.breadcrumb h1 {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    color: var(--ink);
    margin-bottom: 0.5rem;
}
.breadcrumb-nav { color: var(--text-muted); font-size: 0.85rem; }
.breadcrumb-nav a { color: var(--jade); }
.breadcrumb-nav span { margin: 0 8px; }

/* === Page Content === */
.page-content { padding: 3rem 0 5.5rem; }
.page-content p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    line-height: 2.1;
}
.page-content h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--ink);
    margin: 2.2rem 0 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--jade);
}

/* === News List Page === */
.news-list-page .news-grid { margin-top: 1rem; }
.news-empty {
    text-align: center;
    padding: 4rem 0;
    color: var(--text-muted);
    grid-column: 1 / -1;
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}
.pagination button {
    padding: 8px 17px;
    background: var(--surface);
    border: 1px solid var(--dark-border);
    color: var(--ink-soft);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}
.pagination button:hover,
.pagination button.active {
    background: var(--jade);
    color: #fff;
    border-color: var(--jade);
}
.pagination button:disabled { opacity: 0.4; cursor: not-allowed; }

/* 分类筛选按钮高亮 */
.cat-filter { transition: all 0.3s; }
.cat-filter.active {
    background: var(--jade) !important;
    color: #fff !important;
    border-color: var(--jade) !important;
}

/* === News Detail === */
.article-detail { max-width: 800px; margin: 0 auto; }
.article-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--dark-border);
}
.article-header h1 {
    font-size: 1.85rem;
    color: var(--ink);
    margin-bottom: 1rem;
}
.article-meta {
    color: var(--text-dim);
    font-size: 0.85rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.article-meta span { display: flex; align-items: center; gap: 4px; }
.article-body {
    color: var(--ink-soft);
    line-height: 2.1;
    font-size: 1rem;
}
.article-body p { margin-bottom: 1.5rem; }
.article-body img { max-width: 100%; border-radius: var(--radius); margin: 1.5rem 0; }
.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--dark-border);
    gap: 1rem;
}
.article-nav a { color: var(--ink-soft); font-size: 0.9rem; transition: color 0.3s; }
.article-nav a:hover { color: var(--jade); }

/* === Back to Top === */
.back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--jade);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 8px 20px rgba(30, 122, 85, 0.3);
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { transform: translateY(-3px); }

/* === Toast === */
.toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 30px;
    border-radius: 50px;
    color: #fff;
    z-index: 9999;
    font-size: 0.9rem;
    animation: toastIn 0.3s ease;
    box-shadow: var(--shadow-lg);
}
.toast-success { background: var(--jade); }
.toast-error { background: var(--red); }
@keyframes toastIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* === Loading === */
.loading {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 2px solid var(--dark-border);
    border-top-color: var(--jade);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === Responsive === */
@media (max-width: 1024px) {
    .advantages-grid,
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .about-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-image { max-width: 520px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .service-item { grid-template-columns: 1fr; }
    .service-img { height: 260px; }
}

@media (max-width: 768px) {
    :root { --header-h: 64px; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }

    .menu-toggle { display: flex; }
    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(250, 246, 238, 0.98);
        backdrop-filter: blur(16px);
        padding: 1rem 0;
        gap: 0;
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid rgba(194, 161, 77, 0.3);
    }
    .nav.open { transform: translateY(0); }
    .nav a { padding: 14px 0; text-align: center; display: block; }

    .hero-title { font-size: 2.1rem; }
    .hero-desc { font-size: 0.95rem; }
    .hero-carousel img { height: 300px; }

    .advantages-grid,
    .news-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .contact-info { grid-template-columns: 1fr; }

    .section-title { font-size: 1.6rem; }
    .section-subtitle { font-size: 0.78rem; }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.75rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { padding: 12px 28px; }
}
