/* ============================================
   鑫住工美宅 - 设计系统
   乡村别墅 | 别墅设计 | 别墅施工
   ============================================ */

/* ===== CSS Variables ===== */
:root {
    /* 主色调 - 深森林绿，体现建筑品质感 */
    --color-primary: #1a4d3a;
    --color-primary-light: #2d6b52;
    --color-primary-dark: #0f3325;

    /* 强调色 - 暖金色，体现高端定位 */
    --color-accent: #c9a961;
    --color-accent-light: #d9c084;
    --color-accent-dark: #b08d3e;

    /* 背景色 */
    --color-bg: #f8f6f1;
    --color-bg-alt: #ffffff;
    --color-bg-dark: #1a1f1c;

    /* 文字色 */
    --color-text: #2d3431;
    --color-text-light: #6b7570;
    --color-text-white: #ffffff;
    --color-text-muted: #9ba39e;

    /* 边框色 */
    --color-border: #e0ddd5;
    --color-border-light: #ede9e0;

    /* 字体 */
    --font-serif: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
    --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;

    /* 间距 */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* 阴影 */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

    /* 过渡 */
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;

    /* 容器 */
    --container-max: 1280px;
    --container-padding: 1.5rem;
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

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

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

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

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-primary-dark);
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    margin: 1rem auto 3rem;
    border-radius: 2px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

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

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

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

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

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

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

.btn-white {
    background: rgba(1, 200, 100, 0.3);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

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

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

/* ===== Header / Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
}

.logo-icon {
    width: 180px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.logo-text .logo-name {
    font-size: 1.2rem;
    color: var(--color-primary);
}

.logo-text .logo-tagline {
    font-size: 0.7rem;
    color: var(--color-text-light);
    font-family: var(--font-sans);
    letter-spacing: 1px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 24px;
}

.nav-cta {
    margin-left: 1rem;
    padding: 0.55rem 1.5rem;
    background: var(--color-accent);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

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

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

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

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

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

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

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    margin-top: 72px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(135deg, rgba(15, 51, 37, 0.75) 0%, rgba(26, 77, 58, 0.5) 50%, rgba(0, 0, 0, 0.4) 100%);*/
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 1.5rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--color-accent);
    width: 30px;
    border-radius: 5px;
}

/* ===== Features Section ===== */
.features {
    padding: var(--space-2xl) 0;
    background: var(--color-bg-alt);
}

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

.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--color-bg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: #fff;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: 50%;
    color: var(--color-accent);
    font-size: 1.8rem;
}

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

.feature-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary-dark);
}

.feature-text {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===== About Preview Section ===== */
.about-preview {
    padding: var(--space-2xl) 0;
    background: var(--color-bg);
}

.about-preview-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-preview-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    position: relative;
}

.about-preview-image .placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-preview-content .section-title {
    text-align: left;
}

.about-preview-content .section-divider {
    margin-left: 0;
}

.about-preview-text {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.about-stat {
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.about-stat-number {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-accent);
}

.about-stat-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 0.25rem;
}

/* ===== Products Section ===== */
.products-section {
    padding: var(--space-2xl) 0;
    background: var(--color-bg-alt);
}

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

.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

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

.product-card-image {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
}

.product-card-image .placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .placeholder-img {
    transform: scale(1.08);
}

.product-card-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.3rem 0.8rem;
    background: rgba(26, 77, 58, 0.9);
    color: #fff;
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(8px);
}

.product-card-body {
    padding: 1.5rem;
}

.product-card-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary-dark);
}

.product-card-desc {
    font-size: 0.88rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border-light);
}

.product-card-area {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.product-card-link {
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ===== News Section ===== */
.news-section {
    padding: var(--space-2xl) 0;
    background: var(--color-bg);
}

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

.news-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.news-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
}

.news-card-image .placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-card-body {
    padding: 1.5rem;
}

.news-card-date {
    font-size: 0.8rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.news-card-title {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-excerpt {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== Cases Section ===== */
.cases-section {
    padding: var(--space-2xl) 0;
    background: var(--color-bg-alt);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.case-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.case-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.case-card:hover .case-card-image {
    transform: scale(1.08);
}

.case-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 1.25rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
}

.case-card-title {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #fff;
}

.case-card-location {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* ===== Partners Section ===== */
.partners-section {
    padding: var(--space-xl) 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    align-items: center;
}

.partner-item {
    text-align: center;
    padding: 1rem;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-light);
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--color-primary);
}

/* ===== Booking Section ===== */
.booking-section {
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    position: relative;
    overflow: hidden;
}

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

.booking-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(201, 169, 97, 0.06);
}

.booking-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.booking-info {
    color: #fff;
}

.booking-info .section-title {
    color: #fff;
    text-align: left;
}

.booking-info .section-divider {
    margin-left: 0;
}

.booking-info-text {
    font-size: 1.05rem;
    line-height: 1.9;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.booking-features {
    display: grid;
    gap: 1rem;
}

.booking-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.booking-feature-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
    flex-shrink: 0;
}

.booking-form-wrapper {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
}

.booking-form-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary-dark);
}

.booking-form-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.booking-form {
    display: grid;
    gap: 1rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
}

.form-label .required {
    color: #e74c3c;
    margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: var(--transition-fast);
    background: var(--color-bg);
    color: var(--color-text);
    width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

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

.form-submit {
    width: 100%;
    padding: 0.85rem;
    background: var(--color-accent);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    margin-top: 0.5rem;
    letter-spacing: 2px;
}

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

.form-hint {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 0.5rem;
}

/* ===== Floating Booking Button ===== */
.float-booking {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    align-items: center;
}

.float-booking-btn {
    writing-mode: vertical-rl;
    text-orientation: upright;
    padding: 1.2rem 0.5rem;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: -2px 0 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.float-booking-btn:hover {
    background: var(--color-accent-dark);
    padding-right: 0.7rem;
}

.float-booking-btn .float-icon {
    writing-mode: horizontal-tb;
    font-size: 1.1rem;
}

/* ===== Booking Modal ===== */
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.booking-modal.active {
    display: flex;
}

.booking-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.booking-modal-content {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 550px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: scaleIn 0.3s ease;
    box-shadow: var(--shadow-xl);
}

.booking-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-text-light);
    transition: var(--transition-fast);
    cursor: pointer;
}

.booking-modal-close:hover {
    background: var(--color-primary);
    color: #fff;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-xl) 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: var(--space-xl);
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-brand .logo img{width:70%}

.footer-brand .logo .logo-name {
    color: #fff;
}

.footer-brand .logo .logo-tagline {
    color: rgba(255, 255, 255, 0.5);
}

.footer-about {
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
}

.footer-contact-icon {
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-col-title {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    font-family: var(--font-serif);
}

.footer-links {
    display: grid;
    gap: 0.6rem;
}

.footer-link {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--color-accent);
    padding-left: 4px;
}

.footer-qr-grid {
display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

.footer-qr-img {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
}

.footer-qr-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-link {
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition-fast);
}

.footer-bottom-link:hover {
    color: var(--color-accent);
}

/* ===== Page Banner ===== */
.page-banner {
    position: relative;
    height: 320px;
    margin-top: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
}

.page-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.page-banner-title {
    font-size: 2.5rem;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
}

.page-banner-subtitle {
    font-size: 0.95rem;
    opacity: 0.8;
    letter-spacing: 2px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.85rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

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

.breadcrumb-sep {
    color: rgba(255, 255, 255, 0.4);
}

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

/* ===== Content Layout ===== */
.content-section {
    padding: var(--space-2xl) 0;
}

.content-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2.5rem;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 90px;
    align-self: start;
}

.sidebar-block {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-accent);
    color: var(--color-primary-dark);
}

.sidebar-nav {
    display: grid;
    gap: 0.3rem;
}

.sidebar-link {
    display: block;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--color-text);
    transition: var(--transition-fast);
}

.sidebar-link:hover,
.sidebar-link.active {
    background: var(--color-primary);
    color: #fff;
}

.sidebar-contact {
    text-align: center;
}

.sidebar-contact-label {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: 0.25rem;
}

.sidebar-contact-phone {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

.sidebar-contact-text {
    font-size: 0.82rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
    line-height: 1.6;
}

/* ===== Article / News Detail ===== */
.article {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.article-title {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.article-body {
    line-height: 2;
    font-size: 0.95rem;
}

.article-body p {
    margin-bottom: 1.2rem;
}

.article-body h2,
.article-body h3 {
    margin: 2rem 0 1rem;
}

.article-body img {
    border-radius:0;
    margin:0;
    padding:0;
}

.article-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.article-nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.article-nav a {
    font-size: 0.85rem;
    color: var(--color-text-light);
    padding: 0.5rem 1rem;
    background: var(--color-bg);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

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

/* ===== Filter Bar ===== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.filter-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
    padding: 0.4rem 0;
    margin-right: 0.5rem;
}

.filter-item {
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--color-text);
    transition: var(--transition-fast);
    cursor: pointer;
}

.filter-item:hover {
    color: var(--color-primary);
    background: var(--color-bg);
}

.filter-item.active {
    background: var(--color-primary);
    color: #fff;
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination li{list-style:none;margin-right:0.5rem;}

.pagination-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--color-text);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    cursor: pointer;
}

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

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

/* ===== Contact Page ===== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-info-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.contact-info-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: 50%;
    color: var(--color-accent);
    font-size: 1.5rem;
}

.contact-info-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.contact-info-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary-dark);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, #e8e5df, #d0cdc4);
    aspect-ratio: 21/9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 1rem;
    position: relative;
}

/* ===== Contact Page - Two Column Layout ===== */
.contact-two-col {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.contact-form-wrap .section-title {
    text-align: left;
    font-size: 1.6rem;
    margin-bottom: 0.25rem;
}

.section-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.section-desc.center {
    text-align: center;
}

.section-title.center {
    text-align: center;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.contact-form .form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.25rem;
    display: block;
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: var(--transition-fast);
    background: var(--color-bg);
    color: var(--color-text);
    width: 100%;
    font-family: inherit;
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

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

.btn-submit {
    width: 100%;
    padding: 0.85rem;
    background: var(--color-accent);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    margin-top: 0.5rem;
    letter-spacing: 2px;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

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

/* Company Info Panel */
.contact-company-info {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-company-info::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(201, 169, 97, 0.08);
}

.contact-company-info .section-title {
    color: #fff;
    text-align: left;
    font-size: 1.6rem;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 1;
}

.contact-company-info .section-desc {
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
}

.company-info-list {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.company-info-list li {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.company-info-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
}

.info-value {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.6;
}

.official-stores {
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.stores-title {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    font-family: var(--font-serif);
}

.stores-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.store-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition-fast);
}

.store-link:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
}

/* Social Media Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-item {
    text-align: center;
    transition: var(--transition);
}

.social-item:hover {
    transform: translateY(-4px);
}

.social-qr {
    width: 100%;
    aspect-ratio: 1;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    position: relative;
    overflow: hidden;
}

.social-qr::before {
    content: '';
    position: absolute;
    inset: 12%;
}

.social-name {
    font-size: 0.82rem;
    color: var(--color-text-light);
    transition: var(--transition-fast);
}

.social-item:hover .social-name {
    color: var(--color-primary);
    font-weight: 500;
}

/* Map placeholder enhanced */
.map-loading-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.map-loading-text::before {
    content: '📍';
    font-size: 2.5rem;
}

.map-loading-text::after {
    content: '湖南长沙高新区文轩路27号麓谷企业广场';
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ===== About Page ===== */
.about-section {
    padding: var(--space-2xl) 0;
}

.about-content {
    max-width: 1280px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 1.2rem;
    line-height: 2;
    color: var(--color-text-light);
}

.timeline {
    position: relative;
    padding-left: 2rem;
    margin: 3rem 0;
}

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

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--color-accent);
}

.timeline-year {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.timeline-text {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll reveal */
.reveal {
    opacity: 0.6;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Tablet */
@media (max-width: 992px) {

    .nav {
        position: fixed;
        top: 72px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 72px);
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        gap: 0.25rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .nav.active {
        right: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 0.8rem 1rem;
        width: 100%;
        border-radius: var(--radius-sm);
    }

    .nav-link:hover,
    .nav-link.active {
        background: var(--color-bg);
    }

    .nav-link::after {
        display: none;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }
    .hero-title {
        font-size: 2.2rem;
    }

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

    .about-preview-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

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

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

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

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

    .content-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

/* Mobile */
@media (max-width: 768px) {
    :root {
        --space-2xl: 4rem;
        --space-xl: 3rem;
    }
    
    .footer-col{display:none;}

    .hero {
        height:380px;
        max-height:380px;
        min-height:380px;
        
    }
    
    .hero-slider{
        height:380px;
        max-height: 380px;
        min-height:380px;
        
    }
    

    .hero-title {
        font-size: 1.7rem;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

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

    .page-banner {
        height: 240px;
    }

    .page-banner-title {
        font-size: 1.8rem;
    }

    .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    }

    .products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    }

    .news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    }

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

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

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }

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

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

    .booking-form-wrapper {
        padding: 1.5rem;
    }

    .article {
        padding: 1.5rem;
    }

    .article-title {
        font-size: 1.3rem;
    }

    .filter-bar {
        flex-direction: column;
        align-items: flex-start;
        display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    }

    .float-booking-btn {
        font-size: 0.75rem;
        padding: 1rem 0.4rem;
        letter-spacing: 2px;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .hero-dots{bottom:1rem;}
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 60%;
        margin:0 20%;
    }

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

    .cases-grid {
            display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    }

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

    .contact-form-wrap,
    .contact-company-info {
        padding: 1.5rem;
    }

    .booking-modal-content {
        padding: 1.5rem;
    }

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


.proyi{width:100%;height:auto; font-size: 1rem;padding:0.2rem 0;}
.proyi a{margin-right:0.4rem;cursor:pointer;}
.proyi a.active b{color:var(--color-accent)}