/* ==========================================================================
   香港夕阳药业科技有限公司 - 日落橙红风格样式表
   Hong Kong Sunset Pharma Tech - Sunset Orange-Red Theme
   主色调：#FF6347, #FF4500, #FF69B4, #FFA500, 暖白 #FFF8F0
   ========================================================================== */

/* ========== CSS 变量定义 ========== */
:root {
    /* 日落主色调 */
    --color-tomato: #FF6347;       /* 番茄橙 */
    --color-orange-red: #FF4500;   /* 橙红 */
    --color-hot-pink: #FF69B4;     /* 热情粉 */
    --color-orange: #FFA500;       /* 橙色 */
    --color-warm-white: #FFF8F0;   /* 暖白 */
    --color-deep-red: #C73200;     /* 深红 */
    --color-dark: #2D1810;         /* 暖深色 */
    --color-text: #4A2C20;         /* 暖文字色 */
    --color-text-light: #8A5A45;   /* 浅文字色 */
    --color-white: #ffffff;

    /* 渐变 */
    --gradient-sunset: linear-gradient(135deg, #FF6347, #FF4500, #FF69B4);
    --gradient-warm: linear-gradient(135deg, #FFA500, #FF6347, #FF4500);
    --gradient-vibrant: linear-gradient(135deg, #FF69B4, #FF6347, #FFA500);
    --gradient-overlay: linear-gradient(180deg, rgba(45,24,16,0.3) 0%, rgba(255,69,0,0.5) 100%);

    /* 字体 */
    --font-en: 'Poppins', sans-serif;
    --font-cn: 'Noto Sans SC', sans-serif;

    /* 阴影 */
    --shadow-warm: 0 10px 40px rgba(255, 69, 0, 0.25);
    --shadow-soft: 0 6px 20px rgba(199, 50, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(255, 105, 180, 0.4);

    /* 过渡 */
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* 容器 */
    --container-width: 1200px;
    /* 间距 */
    --section-padding: 100px;
}

/* ========== 基础重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* CSS scroll-snap 滑动 */
    scroll-snap-type: y proximity;
}

body {
    font-family: var(--font-cn), var(--font-en);
    color: var(--color-text);
    background: var(--color-warm-white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

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

.container--narrow {
    max-width: 860px;
}

/* ========== 通用区块 ========== */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* 对角线分割区块 */
.section--skew {
    background: var(--gradient-sunset);
    color: var(--color-white);
    /* 对角线分割 */
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
    margin-top: -40px;
    padding: calc(var(--section-padding) + 60px) 0;
}

.section--skew .section__title,
.section--skew .section__tag {
    color: var(--color-white);
}

.section--skew .section__line {
    background: var(--color-warm-white);
}

/* 区块标题 */
.section__head {
    text-align: center;
    margin-bottom: 60px;
}

.section__tag {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-orange-red);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: var(--color-dark);
    margin-bottom: 18px;
    line-height: 1.2;
}

.section__line {
    width: 80px;
    height: 5px;
    background: var(--gradient-sunset);
    margin: 0 auto;
    border-radius: 3px;
}

/* ========== 通用按钮 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all var(--transition-bounce);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
}

.btn--primary {
    background: var(--gradient-sunset);
    color: var(--color-white);
    box-shadow: var(--shadow-warm);
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-vibrant);
    transition: left 0.4s ease;
}

.btn--primary:hover::before {
    left: 0;
}

.btn--primary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 45px rgba(255, 105, 180, 0.5);
}

.btn--primary span,
.btn--primary {
    position: relative;
    z-index: 1;
}

.btn--ghost {
    background: transparent;
    color: var(--color-orange-red);
    border: 2px solid var(--color-orange-red);
}

.btn--ghost:hover {
    background: var(--gradient-sunset);
    color: var(--color-white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-warm);
}

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

/* ========== 模块1：导航栏 + Logo ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(255, 69, 0, 0.1);
    transition: all var(--transition);
}

.header.scrolled {
    background: rgba(255, 248, 240, 0.98);
    box-shadow: 0 4px 30px rgba(199, 50, 0, 0.2);
}

.header__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo__icon {
    display: flex;
    align-items: center;
    /* 脉冲动画 */
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(255,105,180,0)); }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 12px rgba(255,105,180,0.6)); }
}

.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo__cn {
    font-size: 1.4rem;
    font-weight: 900;
    background: var(--gradient-sunset);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo__en {
    font-family: var(--font-en);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--color-text-light);
}

/* 导航 */
.nav__list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    display: inline-block;
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    border-radius: 50px;
    position: relative;
    transition: all var(--transition);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-sunset);
    transition: all var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav__link:hover,
.nav__link.active {
    color: var(--color-orange-red);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 60%;
}

.nav__link--cta {
    background: var(--gradient-sunset);
    color: var(--color-white) !important;
    box-shadow: var(--shadow-soft);
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-warm);
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--gradient-sunset);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* ========== 模块2：全屏轮播图（对角线滑动） ========== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    scroll-snap-align: start;
}

.hero__slider {
    position: absolute;
    inset: 0;
}

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    /* 对角线滑动初始位置 */
    transform: translate(60px, 60px) scale(1.1);
    transition: opacity 1s ease, transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.hero__slide--active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    pointer-events: auto;
    z-index: 2;
}

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

.hero__overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-overlay);
}

.hero__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--color-white);
    z-index: 3;
    width: 90%;
    max-width: 800px;
    padding: 0 20px;
}

.hero__title {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    /* 文字渐变 */
    background: linear-gradient(135deg, #FFF8F0, #FFA500, #FF69B4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero__subtitle {
    font-size: clamp(1rem, 3vw, 1.4rem);
    margin-bottom: 36px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

/* 轮播导航点 */
.hero__dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 4;
}

.hero__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all var(--transition-bounce);
    /* 旋转45度成菱形（对角线风格） */
    transform: rotate(45deg);
}

.hero__dot--active {
    background: var(--color-white);
    transform: rotate(45deg) scale(1.3);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

/* 轮播箭头 */
.hero__arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 4;
    transform: translateY(-50%);
    pointer-events: none;
}

.hero__arrow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: var(--color-white);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: all var(--transition-bounce);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero__arrow:hover {
    background: var(--gradient-sunset);
    transform: scale(1.15);
    border-color: transparent;
}

/* 对角线装饰 */
.hero__diagonal {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: var(--color-warm-white);
    /* 对角线切割 */
    clip-path: polygon(0 100%, 100% 100%, 100% 30%, 0 100%);
    z-index: 3;
}

/* ========== 模块3：关于我们 ========== */
.about {
    background: var(--color-warm-white);
    scroll-snap-align: start;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about__lead {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-orange-red);
    margin-bottom: 20px;
    line-height: 1.5;
}

.about__text p {
    margin-bottom: 18px;
    color: var(--color-text);
}

.about__text .btn {
    margin-top: 20px;
}

.about__media {
    position: relative;
}

.about__img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-warm);
    /* 对角线倾斜 */
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform var(--transition-bounce);
}

.about__img-wrap:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.about__img-wrap img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about__img-wrap:hover img {
    transform: scale(1.08);
}

.about__badge {
    position: absolute;
    bottom: -25px;
    right: -15px;
    background: var(--gradient-sunset);
    color: var(--color-white);
    padding: 20px 28px;
    border-radius: 16px;
    box-shadow: var(--shadow-warm);
    text-align: center;
    /* 对角线倾斜 */
    transform: rotate(-6deg);
    transition: transform var(--transition-bounce);
}

.about__badge:hover {
    transform: rotate(0deg) scale(1.05);
}

.about__badge-num {
    display: block;
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.about__badge-label {
    display: block;
    font-size: 0.85rem;
    margin-top: 4px;
}

/* 统计数据 */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 50px 30px;
    background: var(--gradient-warm);
    border-radius: 24px;
    box-shadow: var(--shadow-warm);
    /* 对角线倾斜装饰 */
    clip-path: polygon(0 0, 100% 5%, 100% 95%, 0 100%);
}

.stats__item {
    text-align: center;
    color: var(--color-white);
}

.stats__num {
    font-family: var(--font-en);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1;
    display: inline-block;
}

.stats__suffix {
    font-size: 1.4rem;
    font-weight: 700;
    margin-left: 2px;
}

.stats__label {
    display: block;
    margin-top: 10px;
    font-size: 0.95rem;
    opacity: 0.95;
    letter-spacing: 1px;
}

/* ========== 模块4：服务介绍 ========== */
.services {
    scroll-snap-align: start;
}

.services__track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0 40px;
    /* 隐藏滚动条 */
    scrollbar-width: none;
}

.services__track::-webkit-scrollbar {
    display: none;
}

.services__cards {
    display: flex;
    gap: 30px;
    padding: 0 20px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.service-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 280px;
    scroll-snap-align: center;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 40px 30px;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-bounce);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-vibrant);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-12px) rotate(-1deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.2);
}

.service-card:hover::before {
    opacity: 0.2;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card__icon {
    color: var(--color-warm-white);
    margin-bottom: 20px;
    display: inline-flex;
    /* 脉冲hover动画 */
    transition: transform var(--transition-bounce);
}

.service-card:hover .service-card__icon {
    transform: scale(1.2) rotate(10deg);
    animation: iconPulse 1s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1.2) rotate(10deg); }
    50% { transform: scale(1.35) rotate(-5deg); }
}

.service-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--color-white);
}

.service-card__desc {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.95;
}

.service-card__num {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    line-height: 1;
}

/* ========== 模块5：客户案例 ========== */
.cases {
    background: var(--color-warm-white);
    scroll-snap-align: start;
}

.cases__slider {
    overflow: hidden;
    padding: 10px 0;
}

.cases__track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.case-card {
    flex: 0 0 calc(25% - 22.5px);
    min-width: 260px;
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-bounce);
}

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

.case-card__img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
}

.case-card__img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-overlay);
    opacity: 0.3;
    transition: opacity var(--transition);
}

.case-card:hover .case-card__img::after {
    opacity: 0.1;
}

.case-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.case-card:hover .case-card__img img {
    transform: scale(1.1);
}

.case-card__body {
    padding: 24px;
}

.case-card__name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 6px;
}

.case-card__tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-orange-red);
    background: rgba(255, 99, 71, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.case-card__text {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.cases__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.cases__btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-sunset);
    color: var(--color-white);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-bounce);
}

.cases__btn:hover {
    transform: scale(1.15);
    box-shadow: var(--shadow-warm);
}

.cases__dots {
    display: flex;
    gap: 10px;
}

.cases__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 69, 0, 0.3);
    transition: all var(--transition);
    cursor: pointer;
}

.cases__dot.active {
    background: var(--gradient-sunset);
    transform: scale(1.3);
}

/* ========== 模块6：新闻资讯 ========== */
.news {
    scroll-snap-align: start;
}

.news__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    overflow: hidden;
    color: var(--color-white);
    transition: all var(--transition-bounce);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.18);
}

.news-card__date {
    background: var(--gradient-vibrant);
    padding: 24px;
    text-align: center;
    /* 对角线切割底部 */
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}

.news-card__day {
    display: block;
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.news-card__month {
    display: block;
    font-size: 0.85rem;
    margin-top: 6px;
    opacity: 0.9;
}

.news-card__body {
    padding: 20px 24px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--color-white);
}

.news-card__excerpt {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.92;
    margin-bottom: 16px;
    flex: 1;
}

.news-card__link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-warm-white);
    align-self: flex-start;
    transition: all var(--transition);
}

.news-card__link:hover {
    transform: translateX(6px);
    text-shadow: 0 0 10px rgba(255, 248, 240, 0.6);
}

/* ========== 模块7：常见问题FAQ ========== */
.faq {
    background: var(--color-warm-white);
    scroll-snap-align: start;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq__item {
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: all var(--transition);
    border-left: 5px solid var(--color-orange-red);
}

.faq__item:hover {
    box-shadow: var(--shadow-warm);
    transform: translateX(6px);
}

.faq__item.active {
    border-left-color: var(--color-hot-pink);
    background: linear-gradient(135deg, #fff 0%, #FFF8F0 100%);
}

.faq__question {
    width: 100%;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-dark);
    gap: 16px;
}

.faq__q-text {
    flex: 1;
}

.faq__q-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}

.faq__q-icon::before,
.faq__q-icon::after {
    content: '';
    position: absolute;
    background: var(--gradient-sunset);
    border-radius: 2px;
    transition: all var(--transition);
}

.faq__q-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    transform: translateY(-50%);
}

.faq__q-icon::after {
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    transform: translateX(-50%);
}

.faq__item.active .faq__q-icon::after {
    transform: translateX(-50%) scaleY(0);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 26px;
}

.faq__item.active .faq__answer {
    max-height: 300px;
    padding: 0 26px 24px;
}

.faq__answer p {
    color: var(--color-text);
    line-height: 1.7;
}

/* ========== 模块8：联系我们 ========== */
.contact {
    background: var(--color-warm-white);
    scroll-snap-align: start;
    /* 对角线背景装饰 */
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 165, 0, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 105, 180, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.contact__info {
    background: var(--gradient-sunset);
    color: var(--color-white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-warm);
    /* 对角线倾斜 */
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.contact__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact__en {
    font-family: var(--font-en);
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.contact__list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact__icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact__item > div {
    display: flex;
    flex-direction: column;
}

.contact__label {
    font-size: 0.8rem;
    opacity: 0.85;
    margin-bottom: 2px;
}

.contact__value {
    font-size: 1rem;
    font-weight: 500;
}

.contact__value a:hover {
    text-decoration: underline;
}

/* 表单 */
.contact__form {
    background: var(--color-white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-warm);
}

.form-group {
    margin-bottom: 22px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.req {
    color: var(--color-orange-red);
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    font-family: inherit;
    font-size: 1rem;
    border: 2px solid #E8D5C4;
    border-radius: 12px;
    background: var(--color-warm-white);
    color: var(--color-text);
    transition: all var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-orange-red);
    box-shadow: 0 0 0 4px rgba(255, 69, 0, 0.12);
}

.form-input.error {
    border-color: #DC143C;
    background: #FFF5F5;
}

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

.form-error {
    display: block;
    font-size: 0.82rem;
    color: #DC143C;
    margin-top: 6px;
    min-height: 18px;
}

.form-success {
    margin-top: 16px;
    padding: 14px;
    background: rgba(34, 139, 34, 0.1);
    color: #228B22;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-success.show {
    display: block;
    animation: bounceIn 0.5s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0.8); opacity: 0; }
    60% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); }
}

/* ========== 模块9：页脚 + 友情链接 ========== */
.footer {
    background: var(--color-dark);
    color: var(--color-warm-white);
}

.footer__top {
    padding: 70px 0 50px;
    /* 对角线顶部切割 */
    clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%);
    background: linear-gradient(135deg, #2D1810 0%, #4A2C20 100%);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer__brand .logo__cn {
    font-size: 1.6rem;
    color: var(--color-orange);
    -webkit-text-fill-color: var(--color-orange);
}

.footer__slogan {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-hot-pink);
    margin: 16px 0 12px;
    font-style: italic;
}

.footer__desc {
    font-size: 0.9rem;
    opacity: 0.75;
    line-height: 1.7;
}

.footer__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-orange);
    position: relative;
    padding-bottom: 10px;
}

.footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--gradient-sunset);
    border-radius: 2px;
}

.footer__link-list li,
.footer__contact p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: all var(--transition);
}

.footer__link-list li:hover,
.footer__contact p:hover {
    opacity: 1;
    transform: translateX(4px);
}

.footer__link-list a:hover {
    color: var(--color-hot-pink);
}

.footer__bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 248, 240, 0.1);
    text-align: center;
}

.footer__bottom p {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ========== 返回顶部按钮 ========== */
.back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-sunset);
    color: var(--color-white);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-warm);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-bounce);
}

.back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    transform: translateY(-4px) scale(1.1);
    animation: pulse 1.5s ease-in-out infinite;
}

/* ========== 滚动显示动画（IntersectionObserver触发） ========== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* 对角线滑动入场（服务卡片等） */
.reveal.visible.service-card,
.reveal.visible.case-card,
.reveal.visible.news-card {
    animation: diagonalSlide 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes diagonalSlide {
    0% {
        opacity: 0;
        transform: translate(40px, 40px) rotate(-3deg);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0) rotate(0);
    }
}

/* ========== 响应式设计（移动优先） ========== */

/* 平板（≤992px） */
@media (max-width: 992px) {
    :root {
        --section-padding: 70px;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__img-wrap img {
        height: 300px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 40px 20px;
    }

    .news__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 600px;
        margin: 0 auto;
    }

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

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

    .service-card {
        flex: 0 0 calc(50% - 15px);
    }

    .case-card {
        flex: 0 0 calc(50% - 15px);
    }
}

/* 手机（≤768px） */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    /* 移动端导航 */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--gradient-sunset);
        padding: 90px 30px 30px;
        transition: right var(--transition-bounce);
        z-index: 999;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }

    .nav.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .nav__link {
        display: block;
        padding: 14px 20px;
        color: var(--color-white);
        font-size: 1.05rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.1);
    }

    .nav__link::after {
        display: none;
    }

    .nav__link:hover,
    .nav__link.active {
        background: rgba(255, 255, 255, 0.25);
        color: var(--color-white);
    }

    .nav__link--cta {
        background: var(--color-warm-white);
        color: var(--color-orange-red) !important;
    }

    .hamburger {
        display: flex;
    }

    /* 移动端遮罩 */
    body.menu-open::after {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }

    /* 轮播箭头隐藏 */
    .hero__arrows {
        display: none;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 30px 15px;
    }

    .stats__num {
        font-size: 2rem;
    }

    .service-card {
        flex: 0 0 85%;
    }

    .case-card {
        flex: 0 0 85%;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer__title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact__info,
    .contact__form {
        padding: 28px 22px;
    }

    .section__head {
        margin-bottom: 40px;
    }

    .back-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* 小手机（≤480px） */
@media (max-width: 480px) {
    .hero__title {
        font-size: 1.9rem;
    }

    .section__title {
        font-size: 1.7rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about__badge {
        right: 0;
        padding: 16px 20px;
    }

    .news-card__day {
        font-size: 2rem;
    }
}

/* ========== 减少动画（无障碍） ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
