* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "Heiti SC", sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

:root {
    --primary-color: #B76E79;
    --text-gray: #666;
    --section-padding: 80px 0;
    --container-width: 1200px;
}

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

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 30px;
    border-radius: 4px;
    font-size: 14px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    opacity: 0.9;
}

header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 50px;
    filter: grayscale(100%);
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
}

.logo-mock {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 5px;
    font-weight: bold;
    margin-right: 10px;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    font-size: 15px;
    font-weight: 500;
}

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

.header-contact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-icon {
    background: var(--primary-color);
    color: white;
    padding: 8px;
    border-radius: 4px;
}

.phone-number {
    font-weight: bold;
    font-size: 18px;
}

.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

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

.slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.hero-content {
    position: absolute;
    color: #fff;
    z-index: 2;
    max-width: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    border: none;
    padding: 0;
}

.slider-dot.active {
    background: var(--primary-color);
}

.section-about {
    padding: var(--section-padding);
    background: #fff;
}

.about-grid {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-img {
    flex: 1;
}

.about-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-text {
    flex: 1;
}

.sub-title {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: bold;
}

.desc-box {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin-bottom: 30px;
    color: #555;
    background: #f8fcfd;
    padding: 20px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.section-case {
    padding: var(--section-padding);
    background: #fff;
}

.case-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.case-img {
    flex: 0 0 400px;
    position: relative;
}

.case-img img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 8px;
}

.heart-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    color: rgba(255, 192, 203, 0.6);
}

.case-content {
    flex: 1;
}

.case-text {
    font-size: 14px;
    color: #666;
    text-align: justify;
    line-height: 1.8;
}

.service-banner {
    background: linear-gradient(135deg, #B76E79 0%, #A05E69 100%);
    padding: 80px 0;
    color: #fff;
}

.service-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.service-left {
    flex: 1;
}

.service-left h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #fff;
}

.service-left p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 16px;
    margin-bottom: 3px;
    color: #fff;
}

.feature-text p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.service-right {
    flex: 0 0 450px;
}

.service-right img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.section-testimonials {
    background-color: var(--primary-color);
    padding: 80px 0;
    background-image: linear-gradient(135deg, #B76E79 0%, #A05E69 100%);
    position: relative;
    padding-bottom: 120px;
}

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

.testimonial-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    position: relative;
}

.quote-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.review-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    min-height: 80px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ddd;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details h4 {
    font-size: 16px;
    color: var(--primary-color);
}

.user-details span {
    font-size: 12px;
    color: #999;
}

.testimonial-intro {
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-intro h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.testimonial-intro p {
    font-size: 14px;
    opacity: 0.8;
}

.section-news {
    padding: var(--section-padding);
    background: #fff;
    text-align: center;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    text-align: left;
}

.news-card {
    background: #fff;
    border: 1px solid #eee;
}

.news-img {
    height: 200px;
    overflow: hidden;
    background: #eee;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-body {
    padding: 20px;
}

.news-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
    display: block;
}

.news-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-desc {
    font-size: 13px;
    color: #777;
}

.center-btn {
    margin-top: 40px;
}

footer {
    background: #fff;
    padding: 60px 0 30px;
    text-align: center;
    border-top: 1px solid #eee;
}

.footer-logo {
    margin-bottom: 30px;
}

.qr-codes {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

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

.qr-box {
    width: 120px;
    height: 120px;
    background: #000;
    margin-bottom: 10px;
    background: url('../images/qr-code.jpg');
}

.qr-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.copyright {
    color: #999;
    font-size: 12px;
}

.sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    z-index: 999;
}

.sidebar-item {
    padding: 15px 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    text-align: center;
    color: #666;
    font-size: 12px;
    writing-mode: vertical-rl;
}

.sidebar-item:hover {
    color: var(--primary-color);
    background: #f9f9f9;
}

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