/* ============================================
   宠物纪念品网站 - 主样式表
   PET MEMORIAL WEBSITE - MAIN STYLESHEET
   ============================================ */

/* === 变量 / VARIABLES === */
:root {
    --color-primary: #D4A574;
    --color-primary-light: #E8C9A8;
    --color-primary-dark: #B8875A;
    --color-secondary: #E8B4A0;
    --color-secondary-light: #F2D0C2;
    --color-accent: #C19A6B;
    --color-bg: #FFFBF5;
    --color-bg-warm: #FFF5EB;
    --color-bg-cream: #F5E6D3;
    --color-text: #4A3728;
    --color-text-light: #7A6555;
    --color-text-muted: #9E8E7E;
    --color-white: #FFFFFF;
    --color-dark: #3D2B1F;
    --color-heart: #D4726A;
    --color-paw: #8B6F5A;
    --color-stray-green: #7BA07B;
    --color-stray-green-light: #E8F5E8;
    
    --font-primary: 'Playfair Display', 'Georgia', serif;
    --font-secondary: 'Lato', 'Helvetica Neue', sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(139, 111, 90, 0.08);
    --shadow-md: 0 4px 20px rgba(139, 111, 90, 0.12);
    --shadow-lg: 0 8px 40px rgba(139, 111, 90, 0.16);
    --shadow-glow: 0 0 30px rgba(212, 165, 116, 0.2);
    
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-xl: 40px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === 基础重置 / BASE RESET === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

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

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

/* === 工具类 / UTILITIES === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
    position: relative;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 3rem;
    font-style: italic;
}

.paw-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.paw-divider::before,
.paw-divider::after {
    content: '';
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.paw-divider svg {
    width: 24px;
    height: 24px;
    fill: var(--color-primary);
}

/* === 爪印SVG背景 / PAW PRINT SVG BACKGROUND === */
.paw-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 35c-3 0-5.5 2-6 5-.5 3 1.5 5 4 5.5 1 .2 2-.2 3-.5 1-.3 2-.3 3 0 1 .3 2 .7 3 .5 2.5-.5 4.5-2.5 4-5.5-.5-3-3-5-6-5h-5zm-10-10c2.5 0 4.5 2 4.5 4.5S22.5 34 20 34s-4.5-2-4.5-4.5S17.5 25 20 25zm20 0c2.5 0 4.5 2 4.5 4.5S42.5 34 40 34s-4.5-2-4.5-4.5S37.5 25 40 25zm-15-5c2 0 3.5 1.5 3.5 3.5S27 27 25 27s-3.5-1.5-3.5-3.5S23 20 25 20zm10 0c2 0 3.5 1.5 3.5 3.5S37 27 35 27s-3.5-1.5-3.5-3.5S33 20 35 20z' fill='%234A3728'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* === 导航栏 / NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 251, 245, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.nav-logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.nav-logo-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--color-white);
}

.nav-logo-text {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-dark);
}

.nav-logo-text span {
    display: block;
    font-family: var(--font-secondary);
    font-size: 0.7rem;
    color: var(--color-text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--color-text);
    font-weight: 500;
    position: relative;
    padding: 0.25rem 0;
}

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

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

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

/* 社媒导航按钮 / Social Nav Buttons */
.nav-social {
    display: flex;
    gap: 0.75rem;
}

.nav-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-cream);
    color: var(--color-text);
    transition: var(--transition);
}

.nav-social a:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.nav-social svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* 汉堡菜单 / Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--color-dark);
    transition: var(--transition);
    border-radius: 2px;
}

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

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

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

/* === 英雄区 / HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--color-bg-cream) 0%, var(--color-bg-warm) 50%, #FFF0E0 100%);
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245,230,211,0.85) 0%, rgba(212,165,116,0.7) 50%, rgba(255,240,224,0.8) 100%);
    z-index: 1;
}

.hero-bg-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.06;
    z-index: 2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 47c-4 0-7.3 2.7-8 6.7-.7 4 2 6.7 5.3 7.3 1.3.3 2.7-.3 4-.7 1.3-.4 2.7-.4 4 0 1.3.4 2.7 1 4 .7 3.3-.7 6-3.3 5.3-7.3-.7-4-4-6.7-8-6.7h-6.6zm-13.3-13.3c3.3 0 6 2.7 6 6s-2.7 6-6 6-6-2.7-6-6 2.7-6 6-6zm26.7 0c3.3 0 6 2.7 6 6s-2.7 6-6 6-6-2.7-6-6 2.7-6 6-6zm-20-6.7c2.7 0 4.7 2 4.7 4.7s-2 4.7-4.7 4.7-4.7-2-4.7-4.7 2-4.7 4.7-4.7zm13.3 0c2.7 0 4.7 2 4.7 4.7s-2 4.7-4.7 4.7-4.7-2-4.7-4.7 2-4.7 4.7-4.7z' fill='%234A3728'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* 漂浮爱心动画 / Floating Hearts Animation */
.floating-hearts {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-heart {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0;
    animation: floatHeart 8s ease-in-out infinite;
}

@keyframes floatHeart {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    20% { opacity: 0.6; }
    80% { opacity: 0.3; }
    100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 165, 116, 0.15);
    border: 1px solid rgba(212, 165, 116, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--color-primary-dark);
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
    fill: var(--color-primary);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--color-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
    font-family: var(--font-primary);
}

.hero-description {
    font-size: 1.05rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

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

/* === 按钮 / BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-secondary);
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-primary-light);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.btn-heart {
    background: linear-gradient(135deg, var(--color-heart), #E88B83);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(212, 114, 106, 0.35);
}

.btn-heart:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 114, 106, 0.45);
}

.btn-stray {
    background: linear-gradient(135deg, var(--color-stray-green), #5D8A5D);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(123, 160, 123, 0.35);
}

.btn-stray:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(123, 160, 123, 0.45);
}

.btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* === 关于我们 / ABOUT SECTION === */
.about {
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

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

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    color: var(--color-white);
}

.about-image-badge .paw-icon {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.about-image-badge .badge-text {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.3;
}

.about-content {
    padding: 1rem 0;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.25rem;
    color: var(--color-text-light);
    line-height: 1.8;
    font-size: 1rem;
}

.about-signature {
    margin-top: 2rem;
    font-family: var(--font-primary);
    font-style: italic;
    color: var(--color-primary-dark);
    font-size: 1.1rem;
}

/* === 纪念品展示 / MEMORIALS SECTION === */
.memorials {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-warm) 100%);
    position: relative;
}

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

.memorial-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

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

.memorial-card-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

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

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

.memorial-card-price {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    backdrop-filter: blur(5px);
}

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

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

.memorial-card-desc {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.memorial-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary-dark);
    font-weight: 500;
    font-size: 0.9rem;
}

.memorial-card-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: var(--transition);
}

.memorial-card-link:hover svg {
    transform: translateX(4px);
}

/* === 定制流程 / PROCESS SECTION === */
.process {
    background: var(--color-white);
    position: relative;
}

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

.process-steps::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary-light), var(--color-secondary-light), var(--color-primary-light));
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-step-number {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--color-bg-cream), var(--color-white));
    border: 3px solid var(--color-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.process-step:hover .process-step-number {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.process-step-title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.process-step-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
    max-width: 250px;
    margin: 0 auto;
}

/* === 客户评价 / TESTIMONIALS === */
.testimonials {
    background: linear-gradient(135deg, var(--color-bg-cream) 0%, var(--color-bg-warm) 100%);
    position: relative;
}

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

.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

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

.testimonial-quote-mark {
    font-family: var(--font-primary);
    font-size: 4rem;
    color: var(--color-primary-light);
    line-height: 1;
    margin-bottom: -1rem;
    opacity: 0.5;
}

.testimonial-text {
    font-style: italic;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-primary-light);
}

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

.testimonial-info h4 {
    font-size: 1rem;
    color: var(--color-dark);
    margin-bottom: 0.15rem;
}

.testimonial-info p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.testimonial-hearts {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--color-heart);
    font-size: 1.2rem;
}

/* === 流浪动物关爱 / STRAY ANIMAL CARE === */
.stray-care {
    background: linear-gradient(180deg, var(--color-stray-green-light) 0%, var(--color-bg) 100%);
    position: relative;
    overflow: hidden;
}

.stray-care-header {
    text-align: center;
    margin-bottom: 3rem;
}

.stray-care-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.stray-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.stray-image-wrap {
    max-width: 800px;
    margin: 0 auto 3rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(92, 61, 46, 0.15);
}
.stray-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.stray-image-wrap:hover .stray-image {
    transform: scale(1.03);
}

/* 统计数据 / Stats */
.stray-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.stray-stat {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.stray-stat-number {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-stray-green);
    margin-bottom: 0.5rem;
}

.stray-stat-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 帮助方式 / How to Help */
.help-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.help-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 3px solid var(--color-stray-green);
}

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

.help-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.help-card-title {
    font-size: 1.05rem;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.help-card-desc {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* 合作收容所 / Partner Shelters */
.shelters-section {
    margin-top: 2rem;
}

.shelters-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--color-stray-green);
}

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

.shelter-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.shelter-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--color-stray-green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.shelter-info h4 {
    font-size: 1.05rem;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.shelter-info .shelter-location {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.shelter-info p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.stray-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* === 联系表单 / CONTACT SECTION === */
.contact {
    background: var(--color-white);
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info {
    padding: 2rem 0;
}

.contact-info .section-title {
    text-align: left;
}

.contact-info .section-subtitle {
    text-align: left;
}

.contact-details {
    margin-top: 2rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-detail-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: var(--color-bg-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--color-primary-dark);
}

.contact-detail h4 {
    font-size: 0.95rem;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.contact-detail p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* 社媒按钮组 / Social Buttons */
.contact-social {
    margin-top: 2rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--color-white);
}

.social-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-btn.facebook { background: #1877F2; }
.social-btn.instagram { background: linear-gradient(45deg, #F09433, #E6683C, #DC2743, #CC2366, #BC1888); }
.social-btn.tiktok { background: #010101; }
.social-btn.whatsapp { background: #25D366; }
.social-btn.twitter { background: #1DA1F2; }
.social-btn.pinterest { background: #E60023; }
.social-btn.youtube { background: #FF0000; }

.social-btn:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: var(--shadow-md);
}

/* 表单样式 / Form Styles */
.contact-form {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.form-group label .required {
    color: var(--color-heart);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border: 2px solid #E8DDD2;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-secondary);
    color: var(--color-text);
    background: var(--color-white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.15);
}

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

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

.form-submit {
    margin-top: 1.5rem;
}

.form-submit .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1rem;
}

/* === 页脚 / FOOTER === */
.footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .nav-logo {
    margin-bottom: 1.5rem;
}

.footer-brand .nav-logo-text {
    color: var(--color-white);
}

.footer-brand .nav-logo-text span {
    color: rgba(255, 255, 255, 0.6);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.footer-title {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-size: 0.9rem;
    font-family: var(--font-secondary);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.newsletter-form button:hover {
    background: var(--color-primary-dark);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-paw {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-paw svg {
    width: 14px;
    height: 14px;
    fill: var(--color-primary);
    opacity: 0.6;
}

/* === 浮动社媒栏 / FLOATING SOCIAL BAR === */
.floating-social {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.floating-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    color: var(--color-white);
}

.floating-social a:hover {
    transform: scale(1.15);
    box-shadow: var(--shadow-lg);
}

.floating-social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.floating-social .fb { background: #1877F2; }
.floating-social .ig { background: linear-gradient(45deg, #F09433, #E6683C, #DC2743, #CC2366, #BC1888); }
.floating-social .tk { background: #010101; }
.floating-social .wa { background: #25D366; }

/* === 回到顶部 / BACK TO TOP === */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 998;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* === 动画 / ANIMATIONS === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* === 响应式 / RESPONSIVE === */
@media (max-width: 1024px) {
    .memorials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stray-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .help-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        padding: 5rem 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-social {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content .section-title {
        text-align: center;
    }
    
    .memorials-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info .section-title,
    .contact-info .section-subtitle {
        text-align: center;
    }
    
    .contact-details {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .contact-social {
        justify-content: center;
    }
    
    .stray-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .help-grid {
        grid-template-columns: 1fr;
    }
    
    .shelters-grid {
        grid-template-columns: 1fr;
    }
    
    .stray-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .floating-social {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stray-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .stray-stat {
        padding: 1.25rem 0.75rem;
    }
    
    .stray-stat-number {
        font-size: 1.8rem;
    }
}

/* Stray Image Responsive */
@media (max-width: 768px) {
    .stray-image {
        height: 280px;
    }
}
@media (max-width: 480px) {
    .stray-image {
        height: 200px;
    }
}