/* ===========================
   PawPaw Friends (포포프렌즈)
   Animal Protection NGO Theme
   Cute & Warm Rounded Design
   =========================== */

/* --- CSS Variables --- */
:root {
    --primary: #FF8A80;
    --primary-dark: #E06B62;
    --primary-light: #FFF0EE;
    --primary-rgb: 255, 138, 128;
    --accent: #A8E6CF;
    --accent-dark: #7ED3AF;
    --accent-light: #E8F8F0;
    --secondary: #D4A5FF;
    --secondary-dark: #B87FE8;
    --secondary-light: #F3E8FF;
    --cream: #FFF3CD;
    --cream-dark: #F5E3A0;
    --cream-light: #FFFCF0;
    --white: #FFFFFF;
    --dark: #4A3728;
    --gray-900: #5C4A3A;
    --gray-800: #6E5D4E;
    --gray-700: #8A7B6E;
    --gray-600: #A69888;
    --gray-500: #BFB3A8;
    --gray-400: #D9D0C7;
    --gray-300: #EBE5DF;
    --gray-200: #F5F1ED;
    --gray-100: #FAF8F5;
    --font-main: 'Jua', 'Quicksand', -apple-system, sans-serif;
    --font-en: 'Quicksand', 'Jua', sans-serif;
    --font-body: 'Quicksand', 'Jua', -apple-system, sans-serif;
    --shadow-sm: 0 2px 8px rgba(255, 138, 128, .08);
    --shadow: 0 4px 16px rgba(255, 138, 128, .1), 0 2px 6px rgba(0, 0, 0, .04);
    --shadow-md: 0 8px 24px rgba(255, 138, 128, .12), 0 4px 8px rgba(0, 0, 0, .04);
    --shadow-lg: 0 16px 40px rgba(255, 138, 128, .15), 0 8px 16px rgba(0, 0, 0, .04);
    --shadow-xl: 0 24px 60px rgba(255, 138, 128, .18), 0 12px 24px rgba(0, 0, 0, .05);
    --shadow-mint: 0 8px 24px rgba(168, 230, 207, .3);
    --shadow-lavender: 0 8px 24px rgba(212, 165, 255, .3);
    --shadow-cream: 0 8px 24px rgba(255, 243, 205, .4);
    --radius: 20px;
    --radius-sm: 14px;
    --radius-lg: 28px;
    --radius-xl: 40px;
    --radius-pill: 50px;
    --radius-round: 50%;
    --transition: all .35s cubic-bezier(.34, 1.56, .64, 1);
    --transition-smooth: all .4s cubic-bezier(.4, 0, .2, 1);
    --transition-bounce: all .5s cubic-bezier(.175, .885, .32, 1.275);
    --header-h: 80px;
    --paw: "🐾";
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-main);
    color: var(--gray-800);
    line-height: 1.8;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: var(--transition-smooth); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
::selection { background: var(--primary-light); color: var(--primary-dark); }

/* --- Preloader --- */
#preloader {
    position: fixed; inset: 0; z-index: 99999;
    background: var(--cream-light);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .6s, visibility .6s;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader { text-align: center; }
.paw-loader {
    display: flex; gap: 12px; justify-content: center;
    margin-bottom: 24px;
}
.paw-dot {
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--primary);
    animation: pawBounce 1.4s ease-in-out infinite;
}
.paw-dot:nth-child(1) { animation-delay: 0s; background: var(--primary); }
.paw-dot:nth-child(2) { animation-delay: .15s; background: var(--accent); }
.paw-dot:nth-child(3) { animation-delay: .3s; background: var(--secondary); }
.paw-dot:nth-child(4) { animation-delay: .45s; background: var(--cream-dark); }
@keyframes pawBounce {
    0%, 80%, 100% { transform: scale(1) translateY(0); opacity: .4; }
    40% { transform: scale(1.5) translateY(-16px); opacity: 1; }
}
.paw-print-loader {
    width: 60px; height: 60px; margin: 0 auto 20px;
    position: relative;
    animation: pawWalk 1.2s ease-in-out infinite;
}
.paw-print-loader::before {
    content: "🐾"; font-size: 3rem;
    position: absolute; top: 0; left: 0;
}
@keyframes pawWalk {
    0%, 100% { transform: scale(1) rotate(-10deg); opacity: .6; }
    50% { transform: scale(1.2) rotate(10deg); opacity: 1; }
}
.loader-text {
    font-size: 1.3rem; font-weight: 700; color: var(--primary);
    letter-spacing: 2px;
}
.loader-text-sub {
    font-size: .85rem; color: var(--gray-600);
    margin-top: 4px; font-family: var(--font-en);
}

/* --- Container --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 36px; border-radius: var(--radius-pill);
    font-weight: 700; font-size: .95rem;
    transition: var(--transition); cursor: pointer;
    border: 2.5px solid transparent;
    position: relative; overflow: hidden;
    font-family: var(--font-main);
    letter-spacing: .5px;
}
.btn i { font-size: .85rem; transition: var(--transition); }
.btn:hover i { transform: translateX(4px); }
.btn::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,.3) 0%, transparent 60%);
    opacity: 0; transition: opacity .3s;
}
.btn:hover::after { opacity: 1; }
.btn-primary {
    background: var(--primary); color: var(--white);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), .35);
}
.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 8px 28px rgba(var(--primary-rgb), .45);
    transform: translateY(-3px) scale(1.02);
}
.btn-primary:active {
    transform: translateY(-1px) scale(.98);
}
.btn-secondary {
    background: var(--secondary); color: var(--white);
    box-shadow: 0 6px 20px rgba(212, 165, 255, .35);
}
.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px) scale(1.02);
}
.btn-mint {
    background: var(--accent); color: var(--dark);
    box-shadow: var(--shadow-mint);
}
.btn-mint:hover {
    background: var(--accent-dark);
    transform: translateY(-3px) scale(1.02);
}
.btn-outline {
    border-color: var(--white); color: var(--white);
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
}
.btn-outline:hover {
    background: var(--white); color: var(--primary);
    transform: translateY(-3px) scale(1.02);
}
.btn-outline-primary {
    border-color: var(--primary); color: var(--primary);
    background: transparent;
}
.btn-outline-primary:hover {
    background: var(--primary); color: var(--white);
    transform: translateY(-3px) scale(1.02);
}
.btn-outline-dark {
    border-color: var(--gray-400); color: var(--gray-700);
}
.btn-outline-dark:hover {
    border-color: var(--primary); color: var(--primary);
    background: var(--primary-light);
}
.btn-cream {
    background: var(--cream); color: var(--dark);
    box-shadow: var(--shadow-cream);
}
.btn-cream:hover {
    background: var(--cream-dark);
    transform: translateY(-3px) scale(1.02);
}
.btn-white {
    background: var(--white); color: var(--primary);
    box-shadow: var(--shadow);
}
.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-3px) scale(1.02);
}
.btn-full { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 24px; font-size: .85rem; }
.btn-lg { padding: 18px 44px; font-size: 1.05rem; }
.btn-icon {
    width: 48px; height: 48px; padding: 0;
    border-radius: var(--radius-round);
    justify-content: center;
}
.btn-icon i { margin: 0; }

/* --- Header / Navbar --- */
#header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    transition: var(--transition-smooth);
}
#header.scrolled {
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), .1);
}
.navbar { height: var(--header-h); }
.nav-container {
    max-width: 1280px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 100%;
}
.logo {
    display: flex; align-items: center; gap: 12px;
    font-size: 1.4rem; color: var(--white);
    transition: var(--transition-smooth);
}
#header.scrolled .logo { color: var(--primary); }
.logo-icon {
    width: 46px; height: 46px; border-radius: 16px;
    background: var(--primary); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    transition: var(--transition);
}
.logo-icon:hover { transform: rotate(-10deg) scale(1.1); }
#header:not(.scrolled) .logo-icon {
    background: rgba(255,255,255,.2);
    backdrop-filter: blur(10px);
}
.logo-text { font-weight: 400; letter-spacing: -0.5px; }
.logo-text strong { font-weight: 700; }
.logo-kr {
    display: block; font-size: .65rem;
    letter-spacing: 1px; opacity: .7;
    font-family: var(--font-main);
}

.nav-menu {
    display: flex; align-items: center; gap: 4px;
}
.nav-link {
    padding: 10px 20px; font-size: .95rem; font-weight: 600;
    color: rgba(255,255,255,.9); border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    display: flex; align-items: center; gap: 6px;
    position: relative;
}
.nav-link i { font-size: .65rem; transition: var(--transition); }
.nav-link:hover i { transform: rotate(180deg); }
#header.scrolled .nav-link { color: var(--gray-700); }
.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,.2);
}
#header.scrolled .nav-link:hover,
#header.scrolled .nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}
.nav-link::after {
    content: ''; position: absolute;
    bottom: 4px; left: 50%; width: 0; height: 3px;
    background: var(--primary);
    border-radius: 3px; transition: var(--transition);
    transform: translateX(-50%);
}
#header.scrolled .nav-link:hover::after,
#header.scrolled .nav-link.active::after {
    width: 24px;
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: calc(100% + 8px); left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 10px;
    min-width: 220px; opacity: 0; visibility: hidden;
    transition: var(--transition-smooth);
    border: 2px solid var(--gray-200);
}
.dropdown-menu::before {
    content: ''; position: absolute;
    top: -8px; left: 50%; transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--white);
}
.dropdown:hover .dropdown-menu {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; border-radius: var(--radius-sm);
    color: var(--gray-700); font-size: .9rem;
    transition: var(--transition-smooth);
}
.dropdown-menu a i {
    width: 28px; height: 28px; border-radius: 8px;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem; flex-shrink: 0;
    transition: var(--transition);
}
.dropdown-menu a:hover {
    background: var(--primary-light); color: var(--primary);
}
.dropdown-menu a:hover i {
    background: var(--primary); color: var(--white);
    transform: scale(1.1);
}

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-lang {
    padding: 6px 14px; border-radius: var(--radius-sm);
    font-size: .8rem; font-weight: 700; letter-spacing: 1px;
    color: rgba(255,255,255,.8);
    border: 1.5px solid rgba(255,255,255,.3);
    transition: var(--transition);
}
#header.scrolled .btn-lang { color: var(--gray-600); border-color: var(--gray-300); }
.btn-lang:hover { background: rgba(255,255,255,.15); }
#header.scrolled .btn-lang:hover { background: var(--primary-light); color: var(--primary); }
.nav-cta {
    padding: 10px 24px; border-radius: var(--radius-pill);
    background: var(--primary); color: var(--white);
    font-weight: 700; font-size: .85rem;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), .3);
    transition: var(--transition);
}
.nav-cta:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 18px rgba(var(--primary-rgb), .4);
}
#header:not(.scrolled) .nav-cta {
    background: rgba(255,255,255,.2);
    backdrop-filter: blur(10px);
    box-shadow: none;
}

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 6px; padding: 8px; }
.hamburger span {
    width: 26px; height: 3px; background: var(--white);
    border-radius: 3px; transition: var(--transition);
}
#header.scrolled .hamburger span { background: var(--gray-800); }
.hamburger:hover span { background: var(--primary); }

/* Mobile Overlay */
.nav-overlay {
    position: fixed; inset: 0; z-index: 997;
    background: rgba(74, 55, 40, .4);
    backdrop-filter: blur(4px);
    opacity: 0; visibility: hidden;
    transition: var(--transition-smooth);
}
.nav-overlay.active { opacity: 1; visibility: visible; }

/* --- Hero Section --- */
.hero-section {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.hero-bg-video {
    position: absolute; inset: 0;
    background: var(--dark);
    overflow: hidden;
}
.hero-bg-video video {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
.hero-bg-video img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(var(--primary-rgb), .2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(168, 230, 207, .15) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(212, 165, 255, .15) 0%, transparent 50%),
        linear-gradient(180deg, rgba(74, 55, 40, .3) 0%, rgba(74, 55, 40, .5) 100%);
}

/* Floating Paw Prints in Hero */
.hero-paws {
    position: absolute; inset: 0; z-index: 1;
    pointer-events: none; overflow: hidden;
}
.hero-paw {
    position: absolute; font-size: 2rem;
    opacity: .15; animation: floatPaw 8s ease-in-out infinite;
}
.hero-paw:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; font-size: 1.5rem; }
.hero-paw:nth-child(2) { top: 25%; right: 15%; animation-delay: 1.5s; font-size: 2.5rem; }
.hero-paw:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 3s; }
.hero-paw:nth-child(4) { top: 60%; right: 8%; animation-delay: 4.5s; font-size: 1.8rem; }
.hero-paw:nth-child(5) { bottom: 15%; left: 50%; animation-delay: 2s; font-size: 3rem; }
.hero-paw:nth-child(6) { top: 10%; left: 60%; animation-delay: 5s; font-size: 1.2rem; }
@keyframes floatPaw {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: .1; }
    25% { transform: translateY(-20px) rotate(10deg); opacity: .2; }
    50% { transform: translateY(-10px) rotate(-5deg); opacity: .15; }
    75% { transform: translateY(-25px) rotate(8deg); opacity: .2; }
}

.hero-content {
    position: relative; z-index: 2;
    text-align: center; color: var(--white);
    padding: 0 24px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 28px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: var(--radius-pill); font-size: .9rem;
    font-weight: 700; letter-spacing: 2px;
    color: rgba(255,255,255,.9); margin-bottom: 28px;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,.1);
}
.hero-badge i { font-size: 1rem; }
.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700; line-height: 1.3;
    margin-bottom: 24px;
    font-family: var(--font-main);
    text-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.hero-line { display: block; }
.hero-line.highlight {
    background: linear-gradient(135deg, var(--primary), var(--cream));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 1.2rem; line-height: 1.9;
    color: rgba(255,255,255,.85);
    margin-bottom: 40px; font-weight: 500;
    max-width: 600px; margin-left: auto; margin-right: auto;
}
.hero-buttons {
    display: flex; gap: 16px;
    justify-content: center; flex-wrap: wrap;
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute; bottom: 40px; left: 50%;
    transform: translateX(-50%); z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll span {
    font-size: .7rem; letter-spacing: 3px; text-transform: uppercase;
    color: rgba(255,255,255,.5); font-family: var(--font-en);
}
.scroll-paw {
    font-size: 1.5rem; animation: scrollPawBounce 2s infinite;
    color: rgba(255,255,255,.6);
}
@keyframes scrollPawBounce {
    0%, 100% { transform: translateY(0); opacity: .4; }
    50% { transform: translateY(10px); opacity: .8; }
}
.scroll-line {
    width: 2px; height: 50px;
    background: rgba(255,255,255,.15);
    border-radius: 2px; position: relative; overflow: hidden;
}
.scroll-line::after {
    content: ''; position: absolute; top: -100%; left: 0;
    width: 100%; height: 50%;
    background: linear-gradient(to bottom, transparent, var(--primary));
    border-radius: 2px;
    animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
    0% { top: -50%; } 100% { top: 100%; }
}

/* Hero Stats */
.hero-stats {
    position: absolute; right: 40px; bottom: 40px;
    z-index: 2; display: flex; flex-direction: column; gap: 20px;
}
.stat-item {
    text-align: right; color: var(--white);
    padding: 16px 0;
    border-right: 3px solid rgba(255,255,255,.2);
    padding-right: 20px;
}
.stat-num {
    font-size: 2.4rem; font-weight: 700;
    font-family: var(--font-en);
    background: linear-gradient(135deg, var(--white), var(--primary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-suffix {
    font-size: .9rem; font-weight: 600;
    color: rgba(255,255,255,.7);
}
.stat-label {
    display: block; font-size: .8rem;
    color: rgba(255,255,255,.5); margin-top: 2px;
}

/* --- Section Basics --- */
.section { padding: 120px 0; position: relative; }
.section-bg-cream { background: var(--cream-light); }
.section-bg-mint { background: var(--accent-light); }
.section-bg-lavender { background: var(--secondary-light); }
.section-bg-pink { background: var(--primary-light); }
.section-bg-white { background: var(--white); }

.section-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .85rem; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--primary); margin-bottom: 16px;
    font-family: var(--font-en);
}
.section-tag::before {
    content: "🐾"; font-size: 1rem;
}
.section-tag.mint { color: var(--accent-dark); }
.section-tag.lavender { color: var(--secondary-dark); }
.section-tag.light { color: var(--cream); }
.section-tag.light::before { color: var(--cream); }

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700; line-height: 1.4;
    color: var(--dark); margin-bottom: 16px;
    font-family: var(--font-main);
}
.section-title strong { font-weight: 700; color: var(--primary); }
.section-title.light { color: var(--white); }
.section-title.light strong { color: var(--cream); }

.section-subtitle {
    font-size: 1.05rem; color: var(--gray-600);
    max-width: 600px; line-height: 1.8;
}
.section-subtitle.light { color: rgba(255,255,255,.7); }
.section-desc {
    font-size: 1.05rem; color: var(--gray-600);
    line-height: 1.9; margin-bottom: 16px;
}

.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }
.section-header:not(.center) {
    display: flex; justify-content: space-between; align-items: flex-end;
}

/* Cloud Section Divider */
.cloud-divider {
    position: absolute; bottom: -2px; left: 0; width: 100%;
    overflow: hidden; line-height: 0;
}
.cloud-divider svg {
    position: relative; display: block;
    width: calc(100% + 1.3px); height: 80px;
}
.cloud-divider-top {
    position: absolute; top: -2px; left: 0; width: 100%;
    overflow: hidden; line-height: 0;
    transform: rotate(180deg);
}
.cloud-divider-top svg {
    position: relative; display: block;
    width: calc(100% + 1.3px); height: 80px;
}

/* CSS Cloud Shape */
.cloud-shape {
    position: absolute; border-radius: 100px;
    background: rgba(var(--primary-rgb), .04);
}
.cloud-shape::before,
.cloud-shape::after {
    content: ''; position: absolute; border-radius: 50%;
    background: inherit;
}
.cloud-shape-1 {
    width: 200px; height: 60px; top: 20%; right: -40px;
}
.cloud-shape-1::before { width: 80px; height: 80px; top: -40px; left: 40px; }
.cloud-shape-1::after { width: 60px; height: 60px; top: -30px; left: 100px; }
.cloud-shape-2 {
    width: 160px; height: 50px; bottom: 15%; left: -30px;
}
.cloud-shape-2::before { width: 70px; height: 70px; top: -35px; left: 30px; }
.cloud-shape-2::after { width: 50px; height: 50px; top: -25px; left: 80px; }

/* Decorative Paw Prints */
.deco-paw {
    position: absolute; pointer-events: none; z-index: 0;
    opacity: .06; font-size: 4rem;
}
.deco-paw-1 { top: 10%; right: 5%; transform: rotate(15deg); }
.deco-paw-2 { bottom: 10%; left: 5%; transform: rotate(-20deg); font-size: 3rem; }
.deco-paw-3 { top: 40%; left: 8%; transform: rotate(30deg); font-size: 2.5rem; }
.deco-paw-4 { bottom: 30%; right: 8%; transform: rotate(-10deg); font-size: 5rem; }

/* Floating Decorations */
.floating-deco {
    position: absolute; pointer-events: none; z-index: 0;
}
.floating-heart {
    width: 20px; height: 20px;
    background: var(--primary);
    transform: rotate(45deg);
    opacity: .08;
    animation: floatUp 6s ease-in-out infinite;
}
.floating-heart::before,
.floating-heart::after {
    content: ''; position: absolute;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--primary);
}
.floating-heart::before { top: -10px; left: 0; }
.floating-heart::after { top: 0; left: -10px; }
@keyframes floatUp {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: .05; }
    50% { transform: rotate(45deg) translateY(-20px); opacity: .12; }
}

/* --- Introduction Section --- */
.intro-section { background: var(--cream-light); position: relative; overflow: hidden; }
.intro-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}
.intro-image { position: relative; }
.intro-img-wrapper {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: rotate(-2deg);
    transition: var(--transition);
}
.intro-img-wrapper:hover { transform: rotate(0deg) scale(1.02); }
.intro-img-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: var(--white); gap: 12px;
}
.intro-img-placeholder i { font-size: 5rem; opacity: .6; }
.intro-img-placeholder span { font-size: 1.1rem; font-weight: 600; opacity: .8; }

.paw-badge {
    position: absolute; bottom: -24px; right: -24px;
    width: 130px; height: 130px;
    background: var(--accent); border-radius: var(--radius-round);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: var(--dark); box-shadow: var(--shadow-mint);
    border: 5px solid var(--white);
    animation: badgeBounce 3s ease-in-out infinite;
}
@keyframes badgeBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.paw-badge-icon { font-size: 2rem; line-height: 1; }
.paw-badge-text {
    font-size: .7rem; font-weight: 700; text-align: center;
    line-height: 1.3; margin-top: 4px;
}
.paw-badge-num {
    font-size: 1.6rem; font-weight: 700;
    font-family: var(--font-en); line-height: 1;
}

.intro-features {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px; margin: 32px 0;
}
.intro-feature {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 18px; border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.intro-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.intro-feature-icon {
    width: 50px; height: 50px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; flex-shrink: 0;
    transition: var(--transition);
}
.intro-feature-icon.pink { background: var(--primary-light); color: var(--primary); }
.intro-feature-icon.mint { background: var(--accent-light); color: var(--accent-dark); }
.intro-feature-icon.lavender { background: var(--secondary-light); color: var(--secondary-dark); }
.intro-feature-icon.cream { background: var(--cream); color: var(--dark); }
.intro-feature:hover .intro-feature-icon { transform: scale(1.15) rotate(-5deg); }
.intro-feature h4 {
    font-size: .95rem; font-weight: 700;
    color: var(--dark); margin-bottom: 4px;
}
.intro-feature p { font-size: .82rem; color: var(--gray-600); line-height: 1.6; }

/* --- Adoption Animals Section --- */
.adoption-section { background: var(--white); position: relative; overflow: hidden; }
.adoption-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.pet-card {
    border-radius: var(--radius-lg); overflow: hidden;
    background: var(--white);
    border: 2px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
}
.pet-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: translateY(-10px);
}
.pet-card-image {
    position: relative; overflow: hidden;
    aspect-ratio: 1;
}
.pet-card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: var(--transition-smooth);
}
.pet-card:hover .pet-card-image img {
    transform: scale(1.08);
}
.pet-card-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 8px; font-size: 4rem;
    background: linear-gradient(135deg, var(--cream-light), var(--primary-light));
    color: var(--gray-500);
}
.pet-card-placeholder span { font-size: .85rem; font-weight: 600; }

/* Pet Card Badges */
.pet-badges {
    position: absolute; top: 12px; left: 12px;
    display: flex; flex-wrap: wrap; gap: 6px;
}
.pet-badge {
    padding: 4px 12px; border-radius: var(--radius-pill);
    font-size: .72rem; font-weight: 700;
    backdrop-filter: blur(8px);
    letter-spacing: .5px;
}
.pet-badge-species {
    background: rgba(var(--primary-rgb), .9); color: var(--white);
}
.pet-badge-age {
    background: rgba(168, 230, 207, .9); color: var(--dark);
}
.pet-badge-gender {
    background: rgba(212, 165, 255, .9); color: var(--white);
}
.pet-badge-new {
    background: var(--cream); color: var(--dark);
}
.pet-badge-urgent {
    background: #FF6B6B; color: var(--white);
    animation: urgentPulse 1.5s infinite;
}
@keyframes urgentPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, .4); }
    50% { box-shadow: 0 0 0 6px rgba(255, 107, 107, 0); }
}

.pet-favorite {
    position: absolute; top: 12px; right: 12px;
    width: 36px; height: 36px; border-radius: var(--radius-round);
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-500); font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
}
.pet-favorite:hover,
.pet-favorite.active {
    background: var(--primary); color: var(--white);
    transform: scale(1.15);
}
.pet-favorite.active { animation: heartPop .4s cubic-bezier(.175, .885, .32, 1.275); }
@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1.15); }
}

.pet-card-body { padding: 20px; }
.pet-name {
    font-size: 1.15rem; font-weight: 700;
    color: var(--dark); margin-bottom: 8px;
    display: flex; align-items: center; gap: 6px;
}
.pet-name .status-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent); display: inline-block;
}
.pet-name .status-dot.waiting { background: var(--cream-dark); }
.pet-name .status-dot.urgent { background: #FF6B6B; }

.pet-details {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 12px;
}
.pet-detail {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: .78rem; color: var(--gray-600);
    padding: 4px 10px; border-radius: var(--radius-pill);
    background: var(--gray-100);
}
.pet-detail i { font-size: .7rem; color: var(--primary); }
.pet-description {
    font-size: .85rem; color: var(--gray-600);
    line-height: 1.6; margin-bottom: 16px;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.pet-card-footer {
    display: flex; gap: 8px;
}
.btn-adopt {
    flex: 1; padding: 12px; border-radius: var(--radius-pill);
    background: var(--primary); color: var(--white);
    font-weight: 700; font-size: .85rem; text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), .25);
}
.btn-adopt:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(var(--primary-rgb), .35);
}
.btn-adopt i { margin-right: 4px; }
.btn-pet-detail {
    width: 44px; height: 44px; border-radius: var(--radius-round);
    border: 2px solid var(--gray-300); color: var(--gray-600);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition); flex-shrink: 0;
}
.btn-pet-detail:hover {
    border-color: var(--primary); color: var(--primary);
    background: var(--primary-light);
}

/* --- Volunteer Section --- */
.volunteer-section { background: var(--accent-light); position: relative; overflow: hidden; }
.volunteer-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.volunteer-card {
    border-radius: var(--radius-lg); overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}
.volunteer-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}
.volunteer-card-image {
    position: relative; overflow: hidden;
    aspect-ratio: 16/10;
}
.volunteer-card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: var(--transition-smooth);
}
.volunteer-card:hover .volunteer-card-image img { transform: scale(1.06); }
.volunteer-img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: var(--white);
}
.volunteer-category {
    position: absolute; top: 14px; left: 14px;
    padding: 6px 16px; border-radius: var(--radius-pill);
    background: var(--accent); color: var(--dark);
    font-size: .78rem; font-weight: 700;
    backdrop-filter: blur(8px);
}
.volunteer-card-body { padding: 24px; }
.volunteer-card-body h3 {
    font-size: 1.15rem; font-weight: 700;
    color: var(--dark); margin-bottom: 10px;
}
.volunteer-card-body p {
    font-size: .88rem; color: var(--gray-600);
    line-height: 1.7; margin-bottom: 16px;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.volunteer-meta {
    display: flex; gap: 16px; margin-bottom: 16px;
}
.volunteer-meta-item {
    display: flex; align-items: center; gap: 6px;
    font-size: .8rem; color: var(--gray-600);
}
.volunteer-meta-item i { color: var(--primary); font-size: .75rem; }
.volunteer-card-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 700; color: var(--primary); font-size: .9rem;
}
.volunteer-card-link i {
    font-size: .75rem; transition: var(--transition);
}
.volunteer-card-link:hover i { transform: translateX(4px); }
.volunteer-card-link:hover { color: var(--primary-dark); }

/* --- Donation Section --- */
.donation-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative; overflow: hidden;
}
.donation-section::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255,255,255,.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.08) 0%, transparent 50%);
}
.donation-paws {
    position: absolute; inset: 0; pointer-events: none;
    overflow: hidden; z-index: 0;
}
.donation-paw {
    position: absolute; font-size: 3rem; opacity: .08;
}
.donation-paw:nth-child(1) { top: 10%; left: 5%; transform: rotate(20deg); }
.donation-paw:nth-child(2) { bottom: 10%; right: 5%; transform: rotate(-15deg); font-size: 4rem; }
.donation-paw:nth-child(3) { top: 50%; left: 50%; transform: rotate(30deg); font-size: 2rem; }

.donation-content { position: relative; z-index: 1; }
.donation-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; margin-top: 48px;
}
.donation-card {
    padding: 40px 32px; border-radius: var(--radius-lg);
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(16px);
    border: 2px solid rgba(255,255,255,.2);
    text-align: center; color: var(--white);
    transition: var(--transition);
    position: relative; overflow: hidden;
}
.donation-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
    opacity: 0; transition: var(--transition-smooth);
}
.donation-card:hover::before { opacity: 1; }
.donation-card:hover {
    background: rgba(255,255,255,.2);
    transform: translateY(-8px);
    border-color: rgba(255,255,255,.4);
}
.donation-card.featured {
    background: rgba(255,255,255,.95);
    color: var(--dark);
    border-color: var(--white);
    transform: scale(1.05);
}
.donation-card.featured:hover { transform: scale(1.05) translateY(-8px); }
.donation-card.featured .donation-amount { color: var(--primary); }
.donation-card.featured .btn-donate {
    background: var(--primary); color: var(--white);
}

.donation-icon {
    width: 70px; height: 70px; border-radius: var(--radius-round);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; font-size: 1.8rem;
    background: rgba(255,255,255,.15);
    transition: var(--transition);
}
.donation-card:hover .donation-icon { transform: scale(1.1) rotate(-5deg); }
.donation-card.featured .donation-icon {
    background: var(--primary-light); color: var(--primary);
}
.donation-card h3 {
    font-size: 1.15rem; font-weight: 700;
    margin-bottom: 8px;
}
.donation-amount {
    font-size: 2.2rem; font-weight: 700;
    font-family: var(--font-en); margin-bottom: 4px;
}
.donation-period { font-size: .82rem; opacity: .7; margin-bottom: 20px; }
.donation-features {
    text-align: left; margin-bottom: 28px;
}
.donation-features li {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 0; font-size: .88rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.donation-card.featured .donation-features li {
    border-bottom-color: var(--gray-200);
}
.donation-features li i {
    color: var(--accent); font-size: .75rem; flex-shrink: 0;
}
.donation-features li:last-child { border-bottom: none; }
.btn-donate {
    display: block; width: 100%;
    padding: 14px; border-radius: var(--radius-pill);
    background: rgba(255,255,255,.2); color: var(--white);
    font-weight: 700; font-size: .95rem;
    text-align: center; transition: var(--transition);
    border: 2px solid rgba(255,255,255,.3);
}
.btn-donate:hover {
    background: var(--white); color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px);
}
.donation-card.featured .btn-donate:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}
.donation-note {
    text-align: center; margin-top: 32px;
    font-size: .9rem; color: rgba(255,255,255,.7);
}

/* --- Footer --- */
.footer {
    background: var(--dark); color: rgba(255,255,255,.6);
    padding: 80px 0 0;
    position: relative; overflow: hidden;
}
.footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary), var(--cream));
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px; padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
    display: flex; align-items: center; gap: 12px;
    font-size: 1.3rem; color: var(--white);
    margin-bottom: 16px;
}
.footer-logo .logo-icon {
    background: var(--primary); border-radius: 14px;
    width: 44px; height: 44px;
}
.footer-brand p {
    font-size: .9rem; line-height: 1.9; margin-bottom: 20px;
}
.footer-paw-trail {
    display: flex; gap: 8px; margin-bottom: 16px; opacity: .3;
    font-size: .8rem;
}

.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 42px; height: 42px; border-radius: 14px;
    background: rgba(255,255,255,.06);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.5); font-size: 1rem;
    transition: var(--transition);
}
.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
}
.social-links a.facebook:hover { background: #1877F2; color: var(--white); }
.social-links a.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: var(--white); }
.social-links a.youtube:hover { background: #FF0000; color: var(--white); }
.social-links a.kakao:hover { background: #FEE500; color: #3C1E1E; }
.social-links a.naver:hover { background: #03C75A; color: var(--white); }
.social-links a:hover { background: var(--primary); color: var(--white); }

.footer-links h4 {
    font-size: .95rem; font-weight: 700;
    color: var(--white); margin-bottom: 24px;
    position: relative; padding-bottom: 12px;
}
.footer-links h4::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 24px; height: 3px; border-radius: 3px;
    background: var(--primary);
}
.footer-links li { margin-bottom: 14px; }
.footer-links a {
    font-size: .88rem; color: rgba(255,255,255,.5);
    display: inline-flex; align-items: center; gap: 6px;
}
.footer-links a::before {
    content: ''; width: 4px; height: 4px;
    border-radius: 50%; background: rgba(255,255,255,.2);
    transition: var(--transition);
}
.footer-links a:hover { color: var(--primary); }
.footer-links a:hover::before { background: var(--primary); }

.footer-contact-item {
    display: flex; align-items: flex-start; gap: 12px;
    margin-bottom: 16px; font-size: .88rem;
}
.footer-contact-item i {
    width: 32px; height: 32px; border-radius: 10px;
    background: rgba(255,255,255,.06);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: .8rem; flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding: 30px 0; flex-wrap: wrap; gap: 16px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: .82rem; color: rgba(255,255,255,.4); }
.footer-legal a:hover { color: var(--white); }
.footer-legal .privacy { color: rgba(255,255,255,.7); font-weight: 600; }
.copyright {
    font-size: .82rem; color: rgba(255,255,255,.3);
    display: flex; align-items: center; gap: 6px;
}
.copyright .heart { color: var(--primary); animation: heartbeat 1.5s infinite; }
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 52px; height: 52px; border-radius: var(--radius);
    background: var(--primary); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-lg); z-index: 999;
    opacity: 0; visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    font-size: 1.4rem;
}
.back-to-top.visible {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-6px) scale(1.1);
    border-radius: var(--radius-round);
}

/* --- AOS Animations --- */
[data-aos] {
    opacity: 0;
    transition: all .8s cubic-bezier(.34, 1.56, .64, 1);
}
[data-aos="fade-up"] { transform: translateY(50px); }
[data-aos="fade-down"] { transform: translateY(-50px); }
[data-aos="fade-right"] { transform: translateX(-50px); }
[data-aos="fade-left"] { transform: translateX(50px); }
[data-aos="fade-up-right"] { transform: translate(-50px, 50px); }
[data-aos="fade-up-left"] { transform: translate(50px, 50px); }
[data-aos="zoom-in"] { transform: scale(.85); }
[data-aos="zoom-in-up"] { transform: scale(.85) translateY(30px); }
[data-aos="flip-up"] { transform: perspective(600px) rotateX(20deg); }
[data-aos].aos-animate {
    opacity: 1; transform: none;
}
[data-aos][data-aos-delay="100"] { transition-delay: .1s; }
[data-aos][data-aos-delay="200"] { transition-delay: .2s; }
[data-aos][data-aos-delay="300"] { transition-delay: .3s; }
[data-aos][data-aos-delay="400"] { transition-delay: .4s; }
[data-aos][data-aos-delay="500"] { transition-delay: .5s; }
[data-aos][data-aos-delay="600"] { transition-delay: .6s; }

/* --- Sub Page Hero --- */
.page-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 60%, var(--accent) 100%);
    position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 3px 3px, rgba(255,255,255,.05) 1px, transparent 0);
    background-size: 40px 40px;
}
.page-hero::after {
    content: "🐾"; position: absolute;
    top: 20%; right: 10%; font-size: 10rem;
    opacity: .06; transform: rotate(15deg);
}
.page-hero-content { position: relative; z-index: 1; }
.breadcrumb {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 16px;
}
.breadcrumb a,
.breadcrumb span {
    font-size: .88rem; color: rgba(255,255,255,.6);
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { font-size: .7rem; }
.breadcrumb .current { color: var(--white); font-weight: 700; }
.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700; color: var(--white);
    margin-bottom: 12px;
    font-family: var(--font-main);
}
.page-hero p {
    font-size: 1.1rem; color: rgba(255,255,255,.75);
}

/* --- About Page --- */
.about-ceo { background: var(--white); }
.ceo-grid {
    display: grid; grid-template-columns: 380px 1fr;
    gap: 60px; align-items: start;
}
.ceo-photo-wrapper {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--cream);
}
.ceo-photo-placeholder {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--primary-light), var(--cream));
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: var(--gray-600); gap: 12px;
}
.ceo-photo-placeholder i { font-size: 4rem; opacity: .4; }
.ceo-message {
    font-size: .95rem; color: var(--gray-700); line-height: 2;
}
.ceo-message .quote {
    font-size: 1.4rem; font-weight: 700; color: var(--primary);
    line-height: 1.7; margin-bottom: 28px; padding-left: 24px;
    border-left: 4px solid var(--accent);
    position: relative;
}
.ceo-message .quote::before {
    content: '"'; position: absolute;
    top: -10px; left: -8px; font-size: 3rem;
    color: var(--primary); opacity: .2;
    font-family: Georgia, serif;
}
.ceo-name {
    margin-top: 32px; text-align: right;
    font-size: .95rem; color: var(--gray-600);
}
.ceo-name strong {
    display: block; font-size: 1.3rem;
    color: var(--dark); font-weight: 700;
}
.ceo-name .paw-sign { font-size: 1.2rem; margin-left: 8px; }

/* Mission / Vision Cards */
.mission-section { background: var(--cream-light); }
.mission-cards {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.mission-card {
    text-align: center; padding: 48px 32px;
    background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative; overflow: hidden;
    border: 2px solid transparent;
}
.mission-card::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 100%; height: 4px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    transition: height .4s cubic-bezier(.34, 1.56, .64, 1);
}
.mission-card:nth-child(1)::after { background: var(--primary); }
.mission-card:nth-child(2)::after { background: var(--accent); }
.mission-card:nth-child(3)::after { background: var(--secondary); }
.mission-card:hover::after { height: 6px; }
.mission-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: var(--gray-200);
}
.mission-icon {
    width: 80px; height: 80px; border-radius: var(--radius-round);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin: 0 auto 24px;
    transition: var(--transition);
}
.mission-card:nth-child(1) .mission-icon {
    background: var(--primary-light); color: var(--primary);
}
.mission-card:nth-child(2) .mission-icon {
    background: var(--accent-light); color: var(--accent-dark);
}
.mission-card:nth-child(3) .mission-icon {
    background: var(--secondary-light); color: var(--secondary-dark);
}
.mission-card:hover .mission-icon {
    transform: scale(1.15) rotate(-10deg);
}
.mission-card h3 {
    font-size: 1.2rem; font-weight: 700;
    color: var(--dark); margin-bottom: 12px;
}
.mission-card p {
    font-size: .9rem; color: var(--gray-600); line-height: 1.8;
}

/* Timeline / History */
.history-section { background: var(--white); }
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
    content: ''; position: absolute; left: 50%;
    top: 0; bottom: 0; width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--accent), var(--secondary));
    transform: translateX(-50%);
    border-radius: 3px;
}
.timeline-item {
    display: flex; align-items: flex-start;
    margin-bottom: 48px; position: relative;
}
.timeline-item:nth-child(odd) { flex-direction: row-reverse; text-align: right; }
.timeline-year {
    width: 50%; padding: 0 40px;
    font-size: 1.6rem; font-weight: 700;
    font-family: var(--font-en);
    color: var(--primary);
}
.timeline-content {
    width: 50%; padding: 0 40px;
}
.timeline-content h4 {
    font-size: 1.05rem; font-weight: 700;
    color: var(--dark); margin-bottom: 6px;
}
.timeline-content p {
    font-size: .88rem; color: var(--gray-600); line-height: 1.7;
}
.timeline-dot {
    position: absolute; left: 50%; top: 8px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--primary); border: 4px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary);
    transform: translateX(-50%); z-index: 1;
    transition: var(--transition);
}
.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.3);
    background: var(--accent);
    box-shadow: 0 0 0 3px var(--accent);
}
.timeline-dot::after {
    content: "🐾"; position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: .5rem;
}

/* --- Board Page --- */
.board-section { background: var(--white); }
.board-tabs {
    display: flex; gap: 4px; margin-bottom: 32px;
    border-bottom: 3px solid var(--gray-200);
    padding-bottom: 0;
}
.board-tab {
    padding: 14px 28px; font-size: .95rem; font-weight: 700;
    color: var(--gray-500); cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px; transition: var(--transition-smooth);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.board-tab:hover {
    color: var(--primary); background: var(--primary-light);
}
.board-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: var(--primary-light);
}
.board-search {
    display: flex; gap: 12px; margin-bottom: 24px;
    max-width: 420px; margin-left: auto;
}
.board-search input {
    flex: 1; padding: 12px 20px;
    border: 2px solid var(--gray-300); border-radius: var(--radius-pill);
    outline: none; font-size: .9rem;
    transition: var(--transition-smooth);
    background: var(--gray-100);
}
.board-search input:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .1);
}
.board-search button {
    padding: 12px 24px; background: var(--primary);
    color: var(--white); border-radius: var(--radius-pill);
    font-weight: 700; font-size: .88rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), .25);
}
.board-search button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.board-table {
    width: 100%; border-collapse: collapse;
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.board-table thead { background: var(--primary-light); }
.board-table th {
    padding: 16px 18px; font-size: .82rem;
    font-weight: 700; color: var(--primary-dark);
    text-align: left; border-bottom: 2px solid var(--gray-200);
}
.board-table td {
    padding: 18px; border-bottom: 1px solid var(--gray-200);
    font-size: .9rem; color: var(--gray-700);
}
.board-table tbody tr {
    transition: var(--transition-smooth); cursor: pointer;
}
.board-table tbody tr:hover {
    background: var(--cream-light);
}
.board-table .num {
    width: 60px; text-align: center;
    color: var(--gray-500); font-size: .85rem;
    font-family: var(--font-en);
}
.board-table .title-cell { font-weight: 600; }
.board-table .title-cell a:hover { color: var(--primary); }
.board-table .title-cell .new-badge {
    display: inline-block; padding: 2px 8px;
    background: var(--primary); color: var(--white);
    font-size: .65rem; font-weight: 700;
    border-radius: var(--radius-pill); margin-left: 8px;
    vertical-align: middle;
}
.board-table .title-cell .hot-badge {
    display: inline-block; padding: 2px 8px;
    background: var(--secondary); color: var(--white);
    font-size: .65rem; font-weight: 700;
    border-radius: var(--radius-pill); margin-left: 4px;
    vertical-align: middle;
}
.board-table .date { color: var(--gray-500); font-size: .85rem; }
.board-table .views {
    color: var(--gray-500); font-size: .85rem; text-align: center;
}

/* Pagination */
.pagination {
    display: flex; justify-content: center; gap: 6px;
    margin-top: 40px;
}
.page-btn {
    width: 42px; height: 42px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; font-weight: 600;
    color: var(--gray-600); background: var(--white);
    border: 2px solid var(--gray-300);
    transition: var(--transition);
    font-family: var(--font-en);
}
.page-btn:hover {
    border-color: var(--primary); color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
}
.page-btn.active {
    background: var(--primary); color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), .3);
}

/* --- Contact Section --- */
.contact-section { background: var(--gray-100); }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: start;
}
.contact-info {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.contact-card {
    padding: 28px; border-radius: var(--radius);
    background: var(--white); box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}
.contact-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
    border-color: var(--primary-light);
}
.contact-icon {
    width: 52px; height: 52px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 16px;
    transition: var(--transition);
}
.contact-card:nth-child(1) .contact-icon { background: var(--primary-light); color: var(--primary); }
.contact-card:nth-child(2) .contact-icon { background: var(--accent-light); color: var(--accent-dark); }
.contact-card:nth-child(3) .contact-icon { background: var(--secondary-light); color: var(--secondary-dark); }
.contact-card:nth-child(4) .contact-icon { background: var(--cream); color: var(--dark); }
.contact-card:hover .contact-icon { transform: scale(1.15) rotate(-5deg); }
.contact-card h4 {
    font-size: .95rem; font-weight: 700;
    color: var(--dark); margin-bottom: 8px;
}
.contact-card p { font-size: .85rem; color: var(--gray-600); line-height: 1.8; }

/* Contact Form */
.contact-form-wrapper {
    padding: 40px; border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--gray-200);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
    font-size: .88rem; font-weight: 700; color: var(--gray-700);
}
.form-group label .required { color: var(--primary); margin-left: 2px; }

/* Form Inputs */
.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 20px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    background: var(--gray-100);
    transition: var(--transition-smooth);
    outline: none;
    color: var(--gray-800);
    font-size: .92rem;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .1);
}
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--gray-400);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A69888' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-check { display: flex; align-items: center; gap: 10px; }
.form-check input[type="checkbox"] {
    width: 22px; height: 22px;
    accent-color: var(--primary);
    border-radius: 6px;
    cursor: pointer;
}
.form-check label {
    font-size: .85rem; color: var(--gray-600); cursor: pointer;
}
.form-check a { color: var(--primary); font-weight: 700; }
.form-check a:hover { text-decoration: underline; }

.form-radio { display: flex; gap: 20px; flex-wrap: wrap; }
.form-radio label {
    display: flex; align-items: center; gap: 8px;
    font-size: .88rem; color: var(--gray-700);
    cursor: pointer; padding: 8px 16px;
    border-radius: var(--radius-pill);
    border: 2px solid var(--gray-300);
    transition: var(--transition-smooth);
}
.form-radio label:hover { border-color: var(--primary); }
.form-radio input[type="radio"] {
    accent-color: var(--primary);
    width: 18px; height: 18px;
}
.form-radio input[type="radio"]:checked + span { color: var(--primary); font-weight: 700; }

/* --- CTA Section (Donation Banner) --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    text-align: center; padding: 100px 0;
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(255,255,255,.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255,255,255,.08) 0%, transparent 50%);
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--white); font-weight: 700;
    margin-bottom: 16px; line-height: 1.4;
}
.cta-content p {
    color: rgba(255,255,255,.8); font-size: 1.1rem;
    margin-bottom: 36px; max-width: 600px;
    margin-left: auto; margin-right: auto;
}
.cta-buttons {
    display: flex; gap: 16px;
    justify-content: center; flex-wrap: wrap;
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent-dark); }
.text-secondary { color: var(--secondary); }
.text-dark { color: var(--dark); }
.text-muted { color: var(--gray-600); }
.text-white { color: var(--white); }
.bg-primary { background-color: var(--primary); }
.bg-accent { background-color: var(--accent); }
.bg-cream { background-color: var(--cream); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* --- Stats Counter Section --- */
.stats-section {
    background: var(--white); padding: 80px 0;
    position: relative;
}
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.stat-card {
    text-align: center; padding: 32px 20px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}
.stat-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.stat-card-icon {
    width: 64px; height: 64px; border-radius: var(--radius-round);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px; font-size: 1.6rem;
    transition: var(--transition);
}
.stat-card:nth-child(1) .stat-card-icon { background: var(--primary-light); color: var(--primary); }
.stat-card:nth-child(2) .stat-card-icon { background: var(--accent-light); color: var(--accent-dark); }
.stat-card:nth-child(3) .stat-card-icon { background: var(--secondary-light); color: var(--secondary-dark); }
.stat-card:nth-child(4) .stat-card-icon { background: var(--cream); color: var(--dark); }
.stat-card:hover .stat-card-icon {
    transform: scale(1.15) rotate(-10deg);
}
.stat-card-num {
    font-size: 2.4rem; font-weight: 700;
    font-family: var(--font-en); color: var(--dark);
    line-height: 1;
}
.stat-card-label {
    font-size: .88rem; color: var(--gray-600); margin-top: 8px;
}

/* --- Gallery / Photo Grid --- */
.gallery-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.gallery-item {
    border-radius: var(--radius); overflow: hidden;
    position: relative; cursor: pointer;
    aspect-ratio: 1;
}
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: var(--transition-smooth);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(var(--primary-rgb), .6));
    opacity: 0; transition: var(--transition-smooth);
    display: flex; align-items: flex-end; padding: 20px;
    color: var(--white); font-weight: 700;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* --- Testimonial / Adoption Stories --- */
.story-cards {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.story-card {
    padding: 32px; border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
}
.story-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: var(--primary-light);
}
.story-card::before {
    content: '"'; position: absolute;
    top: 20px; right: 24px;
    font-size: 4rem; color: var(--primary-light);
    font-family: Georgia, serif; line-height: 1;
}
.story-card-header {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 16px;
}
.story-avatar {
    width: 56px; height: 56px; border-radius: var(--radius-round);
    overflow: hidden; border: 3px solid var(--primary-light);
    flex-shrink: 0;
}
.story-avatar img { width: 100%; height: 100%; object-fit: cover; }
.story-avatar-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary-light), var(--cream));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
}
.story-author { font-weight: 700; color: var(--dark); font-size: .95rem; }
.story-pet { font-size: .82rem; color: var(--primary); }
.story-text {
    font-size: .9rem; color: var(--gray-600);
    line-height: 1.8; font-style: italic;
}
.story-stars { margin-top: 12px; color: var(--cream-dark); font-size: .85rem; }

/* --- Marquee / Partner Logos --- */
.partner-section { padding: 60px 0; background: var(--gray-100); }
.partner-marquee {
    display: flex; gap: 48px; align-items: center;
    animation: marquee 30s linear infinite;
    width: max-content;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.partner-logo {
    height: 40px; opacity: .4; filter: grayscale(100%);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}
.partner-logo:hover { opacity: 1; filter: grayscale(0%); }

/* --- Newsletter Section --- */
.newsletter-section {
    background: var(--cream-light); padding: 80px 0;
}
.newsletter-box {
    max-width: 600px; margin: 0 auto; text-align: center;
}
.newsletter-form {
    display: flex; gap: 12px; margin-top: 24px;
}
.newsletter-form input {
    flex: 1; padding: 16px 24px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-pill);
    font-size: .95rem; outline: none;
    transition: var(--transition-smooth);
}
.newsletter-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .1);
}
.newsletter-form button {
    padding: 16px 32px;
    background: var(--primary); color: var(--white);
    border-radius: var(--radius-pill);
    font-weight: 700; font-size: .95rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), .3);
    white-space: nowrap;
}
.newsletter-form button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* --- Tag / Category Chips --- */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 16px; border-radius: var(--radius-pill);
    font-size: .8rem; font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
}
.tag-pink { background: var(--primary-light); color: var(--primary); }
.tag-mint { background: var(--accent-light); color: var(--accent-dark); }
.tag-lavender { background: var(--secondary-light); color: var(--secondary-dark); }
.tag-cream { background: var(--cream); color: var(--dark); }
.tag:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* --- Modal --- */
.modal-overlay {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(74, 55, 40, .5);
    backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: var(--transition-smooth);
    padding: 24px;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
    background: var(--white); border-radius: var(--radius-lg);
    max-width: 560px; width: 100%;
    padding: 40px; box-shadow: var(--shadow-xl);
    transform: scale(.9) translateY(20px);
    transition: var(--transition);
    position: relative;
}
.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}
.modal-close {
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px; border-radius: var(--radius-round);
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-600); font-size: 1rem;
    transition: var(--transition);
}
.modal-close:hover {
    background: var(--primary-light); color: var(--primary);
    transform: rotate(90deg);
}

/* --- Accordion / FAQ --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    margin-bottom: 12px; border-radius: var(--radius);
    border: 2px solid var(--gray-200);
    overflow: hidden; transition: var(--transition-smooth);
}
.faq-item.active { border-color: var(--primary-light); }
.faq-question {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; cursor: pointer;
    font-weight: 700; color: var(--dark);
    transition: var(--transition-smooth);
    gap: 16px;
}
.faq-question:hover { color: var(--primary); }
.faq-item.active .faq-question {
    color: var(--primary); background: var(--primary-light);
}
.faq-question i {
    transition: var(--transition); flex-shrink: 0;
    color: var(--gray-500);
}
.faq-item.active .faq-question i {
    transform: rotate(180deg); color: var(--primary);
}
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height .4s cubic-bezier(.4, 0, .2, 1);
}
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer-inner {
    padding: 0 24px 24px;
    font-size: .9rem; color: var(--gray-600); line-height: 1.8;
}

/* --- Notice / Alert Boxes --- */
.notice-box {
    padding: 20px 24px; border-radius: var(--radius);
    display: flex; align-items: flex-start; gap: 14px;
    font-size: .9rem; line-height: 1.7;
}
.notice-box i { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.notice-info {
    background: var(--accent-light); color: var(--accent-dark);
    border: 2px solid var(--accent);
}
.notice-warning {
    background: var(--cream); color: var(--dark);
    border: 2px solid var(--cream-dark);
}
.notice-error {
    background: var(--primary-light); color: var(--primary-dark);
    border: 2px solid var(--primary);
}

/* --- CSS Paw Print Shape --- */
.css-paw {
    position: relative; display: inline-block;
    width: 60px; height: 52px;
}
.css-paw .pad {
    position: absolute; border-radius: 50%;
    background: var(--primary);
}
.css-paw .pad-main {
    width: 32px; height: 26px; bottom: 0;
    left: 50%; transform: translateX(-50%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}
.css-paw .pad-1 { width: 14px; height: 14px; top: 0; left: 6px; }
.css-paw .pad-2 { width: 14px; height: 14px; top: 0; right: 6px; }
.css-paw .pad-3 { width: 12px; height: 12px; top: 6px; left: -2px; }
.css-paw .pad-4 { width: 12px; height: 12px; top: 6px; right: -2px; }

/* CSS Cloud Decoration */
.css-cloud {
    position: relative; display: inline-block;
    width: 120px; height: 40px;
    background: var(--white);
    border-radius: 40px;
    box-shadow: var(--shadow-sm);
}
.css-cloud::before {
    content: ''; position: absolute;
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--white);
    top: -25px; left: 20px;
    box-shadow: var(--shadow-sm);
}
.css-cloud::after {
    content: ''; position: absolute;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--white);
    top: -18px; left: 55px;
    box-shadow: var(--shadow-sm);
}

/* --- Skeleton / Loading States --- */
.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 400% 100%;
    animation: skeletonShimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}
@keyframes skeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.skeleton-text { height: 14px; margin-bottom: 10px; }
.skeleton-text:last-child { width: 70%; }
.skeleton-circle { border-radius: var(--radius-round); }
.skeleton-card {
    padding: 24px; border-radius: var(--radius-lg);
    background: var(--white);
}

/* --- Tooltip --- */
[data-tooltip] {
    position: relative; cursor: pointer;
}
[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute; bottom: calc(100% + 8px); left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: 8px 16px; border-radius: var(--radius-sm);
    background: var(--dark); color: var(--white);
    font-size: .78rem; font-weight: 600;
    white-space: nowrap;
    opacity: 0; visibility: hidden;
    transition: var(--transition-smooth);
    pointer-events: none; z-index: 100;
}
[data-tooltip]:hover::after {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* --- Responsive Design --- */

/* Tablet Landscape */
@media (max-width: 1024px) {
    .adoption-grid { grid-template-columns: repeat(2, 1fr); }
    .volunteer-grid { grid-template-columns: repeat(2, 1fr); }
    .donation-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; margin-top: 48px; }
    .donation-card.featured { transform: none; }
    .donation-card.featured:hover { transform: translateY(-8px); }
    .intro-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .ceo-grid { grid-template-columns: 1fr; }
    .ceo-photo-wrapper { max-width: 380px; }
    .hero-stats { display: none; }
    .mission-cards { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .story-cards { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    :root { --header-h: 70px; }
    .section { padding: 80px 0; }

    /* Mobile Navigation */
    .nav-menu {
        position: fixed; top: 0; right: -100%;
        width: 85%; max-width: 380px; height: 100vh;
        background: var(--white); flex-direction: column;
        padding: 100px 32px 32px; gap: 0;
        box-shadow: var(--shadow-xl);
        transition: right .4s cubic-bezier(.34, 1.56, .64, 1);
        z-index: 998;
        overflow-y: auto;
    }
    .nav-menu.open { right: 0; }
    .nav-menu .nav-link {
        color: var(--gray-700); padding: 16px 0;
        border-bottom: 1px solid var(--gray-200);
        width: 100%; border-radius: 0;
        font-size: 1rem;
    }
    .nav-menu .nav-link::after { display: none; }
    .nav-menu .nav-link:hover { color: var(--primary); background: none; }
    .nav-menu .nav-link.active { color: var(--primary); }

    .dropdown-menu {
        position: static; box-shadow: none;
        opacity: 1; visibility: visible;
        transform: none; padding: 0 0 0 20px;
        border: none; border-radius: 0;
        border-left: 3px solid var(--primary-light);
        margin: 4px 0 8px;
    }
    .dropdown-menu::before { display: none; }
    .dropdown-menu a {
        padding: 10px 12px; font-size: .88rem;
    }
    .hamburger { display: flex; z-index: 999; }
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background: var(--primary);
    }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background: var(--primary);
    }

    /* Mobile close button in nav */
    .nav-close {
        position: absolute; top: 24px; right: 24px;
        width: 40px; height: 40px; border-radius: var(--radius-round);
        background: var(--primary-light); color: var(--primary);
        display: flex; align-items: center; justify-content: center;
        font-size: 1.2rem;
    }

    /* Grid adjustments */
    .adoption-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    .volunteer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-info { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-legal { flex-wrap: wrap; justify-content: center; }
    .section-header:not(.center) {
        flex-direction: column; align-items: flex-start; gap: 16px;
    }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

    /* Timeline mobile */
    .timeline::before { left: 20px; }
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: column; text-align: left; padding-left: 56px;
    }
    .timeline-year, .timeline-content { width: 100%; padding: 0; }
    .timeline-dot { left: 20px; }
    .timeline-year { font-size: 1.3rem; margin-bottom: 8px; }

    .board-table .hide-mobile { display: none; }
    .board-tabs { overflow-x: auto; white-space: nowrap; }
    .board-tab { padding: 12px 20px; font-size: .88rem; }

    .newsletter-form { flex-direction: column; }
    .newsletter-form button { width: 100%; }

    .hero-content h1 { font-size: clamp(2rem, 6vw, 3rem); }
    .page-hero { padding: 130px 0 60px; }
    .page-hero h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
    .page-hero::after { font-size: 6rem; top: 15%; right: 5%; }

    .intro-features { grid-template-columns: 1fr; }
    .paw-badge { width: 100px; height: 100px; bottom: -16px; right: -16px; }
    .paw-badge-num { font-size: 1.2rem; }
}

/* Mobile Small */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section { padding: 60px 0; }

    .hero-content h1 { font-size: 1.8rem; }
    .hero-desc { font-size: 1rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .hero-badge { font-size: .78rem; padding: 8px 20px; }

    .section-title { font-size: 1.5rem; }
    .section-header { margin-bottom: 40px; }

    .pet-card-body { padding: 16px; }
    .pet-name { font-size: 1.05rem; }
    .btn-adopt { padding: 10px; font-size: .82rem; }

    .donation-card { padding: 28px 24px; }
    .donation-amount { font-size: 1.8rem; }

    .volunteer-card-body { padding: 20px; }

    .ceo-message .quote { font-size: 1.15rem; }
    .mission-card { padding: 36px 24px; }

    .contact-form-wrapper { padding: 24px; }
    .form-group input,
    .form-group select,
    .form-group textarea { padding: 12px 16px; }

    .page-hero { padding: 110px 0 50px; }
    .breadcrumb { font-size: .8rem; }

    .back-to-top { width: 44px; height: 44px; bottom: 20px; right: 20px; font-size: 1.1rem; }

    .footer { padding-top: 60px; }
    .footer-grid { gap: 24px; }
    .footer-links h4 { margin-bottom: 16px; }

    .modal { padding: 28px; margin: 16px; }
    .stat-card { padding: 24px 16px; }
    .stat-card-num { font-size: 2rem; }

    .gallery-grid { grid-template-columns: 1fr; }
    .board-search { max-width: 100%; }
    .pagination { gap: 4px; }
    .page-btn { width: 36px; height: 36px; font-size: .82rem; }
}

/* --- Print Styles --- */
@media print {
    #header, .hero-section, .back-to-top,
    .hero-paws, .donation-paws, .deco-paw,
    .cloud-divider, .floating-deco, .nav-overlay { display: none; }
    .section { padding: 40px 0; }
    body { color: #000; background: #fff; }
    .footer { background: #f5f5f5; color: #333; }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    [data-aos] { opacity: 1; transform: none; }
    .hero-paw, .floating-heart, .scroll-paw,
    .paw-badge, .partner-marquee { animation: none; }
}

/* --- High Contrast Mode Support --- */
@media (prefers-contrast: high) {
    :root {
        --primary: #E05040;
        --accent: #40B080;
        --secondary: #9050D0;
    }
    .pet-badge, .tag { border: 1px solid currentColor; }
    .btn { border-width: 2px; }
}
