*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-cream: #f5f8f9;
    --bg-light: #ffffff;
    --brown-dark: #2f7995;
    --brown: #5caca3;
    --brown-light: #8cc5c0;
    --yellow: #f87628;
    --yellow-light: #fde5d3;
    --yellow-accent: #e06a24;
    --text-dark: #2f7995;
    --text: #4a8a82;
    --text-light: #6ea8a2;
    --white: #FFFFFF;
    --radius-lg: 30px;
    --radius: 20px;
    --radius-sm: 12px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: var(--bg-cream); color: var(--text); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 30px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.btn { display: inline-block; padding: 14px 32px; border-radius: 50px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; border: none; text-align: center; }
.btn-primary { background-color: var(--yellow); color: var(--white); }
.btn-primary:hover { background-color: var(--yellow-accent); transform: translateY(-2px); }
.btn-dark { background-color: var(--brown-dark); color: var(--white); }
.btn-dark:hover { background-color: var(--brown); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--brown-dark); color: var(--brown-dark); }
.btn-outline:hover { background-color: var(--brown-dark); color: var(--white); }
.btn-small { padding: 10px 24px; font-size: 14px; }
.btn-link { color: var(--brown); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; }
.btn-link:hover { color: var(--brown-dark); }

.section-title { font-family: Georgia, 'Times New Roman', serif; font-size: 42px; color: var(--brown-dark); text-align: center; margin-bottom: 50px; font-weight: 400; }

/* Header */
.header { background-color: var(--bg-light); padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 15px rgba(0,0,0,0.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.logo img { width: 45px; height: 45px; border-radius: 50%; background-color: var(--yellow); }
.nav { display: flex; gap: 25px; }
.nav-link { font-size: 14px; color: var(--text); font-weight: 500; transition: color 0.3s; position: relative; }
.nav-link:hover { color: var(--brown-dark); }
.nav-link::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background-color: var(--yellow); transition: width 0.3s; }
.nav-link:hover::after { width: 100%; }
.header-buttons { display: flex; gap: 12px; }

/* Burger Menu */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1002; }
.burger span { width: 28px; height: 3px; background-color: var(--brown-dark); border-radius: 2px; transition: all 0.3s; }
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.mobile-only { display: none; }

/* Hero */
.hero { background-color: var(--bg-light); padding: 80px 0; }
.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.hero-content { flex: 1; }
.hero-content h1 { font-family: Georgia, 'Times New Roman', serif; font-size: 58px; line-height: 1.1; color: var(--brown-dark); margin-bottom: 25px; font-weight: 400; white-space: pre-line; }
.hero-content p { font-size: 18px; color: var(--text-light); margin-bottom: 35px; max-width: 500px; line-height: 1.7; }
.hero-btns { display: flex; gap: 16px; }
.hero-img img { width: 480px; height: 480px; object-fit: cover; border-radius: 50%; background-color: var(--yellow-light); }

/* About */
.about { padding: 100px 0; background-color: var(--brown-dark); color: var(--white); }
.about .section-title { color: var(--white); }
.about-inner { display: flex; gap: 60px; align-items: center; }
.about-text { flex: 1; }
.about-text p { font-size: 17px; line-height: 1.8; margin-bottom: 20px; color: rgba(255,255,255,0.85); }
.link-arrow { color: var(--yellow); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; }
.about-stats { flex: 0 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-card { background-color: var(--yellow-light); border-radius: var(--radius); overflow: hidden; }
.stat-card img { width: 160px; height: 160px; object-fit: cover; background-color: var(--brown-light); }
.stat-number { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 20px; background-color: var(--yellow); }
.stat-number .num { font-family: Georgia, serif; font-size: 52px; font-weight: 700; color: var(--brown-dark); line-height: 1; }
.stat-number .label { font-size: 14px; color: var(--brown-dark); margin-top: 8px; }
.stat-img:nth-child(4) { grid-column: 1 / -1; }
.stat-img img { width: 100%; height: 200px; }

/* Services */
.services { padding: 100px 0; background-color: var(--bg-cream); }
.service-block { border-radius: var(--radius-lg); padding: 50px; margin-bottom: 40px; }
.block-dark { background-color: var(--brown-dark); color: var(--white); }
.block-dark .service-num { color: var(--yellow); }
.block-dark h4 { color: var(--yellow-light); }
.block-dark p { color: rgba(255,255,255,0.8); }
.block-light { background-color: var(--yellow-light); color: var(--text-dark); }
.block-light .service-num { color: var(--brown-dark); }
.service-header { margin-bottom: 20px; }
.service-num { font-family: Georgia, serif; font-size: 24px; font-weight: 600; color: var(--brown-dark); }
.service-desc { font-size: 17px; max-width: 750px; margin-bottom: 35px; line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.service-item { background-color: rgba(255,255,255,0.15); border-radius: var(--radius); padding: 30px 25px; text-align: center; }
.block-light .service-item { background-color: var(--white); }
.service-item img { width: 50px; height: 50px; margin: 0 auto 15px; background-color: var(--yellow); border-radius: 50%; padding: 12px; }
.service-item h4 { font-size: 18px; margin-bottom: 10px; font-weight: 600; }
.service-item p { font-size: 14px; line-height: 1.6; }
.service-btn { text-align: center; margin-top: 35px; }

/* Team */
.team { padding: 100px 0; background-color: var(--brown-dark); }
.team .section-title { color: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.team-card { background-color: var(--yellow-light); border-radius: var(--radius-lg); padding: 35px 30px; text-align: center; }
.team-card img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; background-color: var(--brown-light); margin: 0 auto 20px; }
.team-card h4 { font-family: Georgia, serif; font-size: 24px; color: var(--brown-dark); margin-bottom: 8px; }
.team-role { display: inline-block; background-color: var(--yellow); padding: 5px 18px; border-radius: 20px; font-size: 13px; font-weight: 600; color: var(--brown-dark); margin-bottom: 15px; }
.team-card p { font-size: 15px; color: var(--text); line-height: 1.6; }

/* Help */
.help { padding: 100px 0; background-color: var(--bg-light); }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.help-card { background-color: var(--white); border-radius: var(--radius-lg); overflow: hidden; }
.help-card img { width: 100%; height: 280px; object-fit: cover; background-color: var(--yellow-light); }
.help-content { padding: 30px; }
.help-content h3 { font-family: Georgia, serif; font-size: 22px; color: var(--brown-dark); margin-bottom: 12px; }
.help-content p { font-size: 15px; color: var(--text-light); margin-bottom: 20px; line-height: 1.6; }

/* Donate (QR Block) */
.donate { padding: 100px 0; background-color: var(--bg-cream); }
.donate-block { background-color: var(--yellow-light); border-radius: var(--radius-lg); padding: 60px 40px; text-align: center; max-width: 700px; margin: 0 auto; }
.donate-block h2 { font-family: Georgia, serif; font-size: 32px; color: var(--brown-dark); margin-bottom: 15px; }
.donate-block > p { font-size: 16px; color: var(--text-light); margin-bottom: 30px; line-height: 1.7; }
.qr-wrapper { background-color: var(--white); padding: 30px; border-radius: var(--radius); display: inline-block; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.qr-code { width: 220px; height: 220px; object-fit: contain; background-color: var(--bg-cream); border-radius: 8px; margin: 0 auto 15px; }
.qr-hint { display: block; font-size: 14px; color: var(--text-light); margin-top: 10px; }

/* Adopt */
.adopt { padding: 100px 0; background-color: var(--brown-dark); }
.adopt .section-title { color: var(--white); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { text-align: center; position: relative; }
.step-num { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 40px; background-color: var(--yellow); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; color: var(--brown-dark); }
.step img { width: 90px; height: 90px; margin: 25px auto 20px; background-color: var(--yellow-light); border-radius: 50%; padding: 20px; }
.step h4 { font-family: Georgia, serif; font-size: 22px; color: var(--yellow-light); margin-bottom: 12px; }
.step p { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.6; }

/* Pets Slider */
.pets { padding: 100px 0; background-color: var(--bg-light); }
.slider { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 5px 25px rgba(0,0,0,0.08); }
.slider-track { display: flex; transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); }
.slide { min-width: 100%; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding: 40px; }
.slide img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); background-color: var(--yellow-light); }
.slide-content h3 { font-family: Georgia, serif; font-size: 28px; color: var(--brown-dark); margin-bottom: 15px; }
.slide-content p { font-size: 16px; line-height: 1.7; color: var(--text-light); margin-bottom: 25px; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: var(--white); border: none; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,0.15); z-index: 2; font-size: 20px; color: var(--brown-dark); transition: all 0.3s; }
.slider-arrow:hover { background: var(--yellow); color: var(--white); transform: translateY(-50%) scale(1.1); }
.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* Footer */
.footer { background-color: var(--brown-dark); color: var(--white); padding: 50px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 2fr 2fr 1fr; gap: 40px; align-items: start; }
.footer-logo { display: flex; align-items: center; gap: 15px; }
.footer-logo img { width: 60px; height: 60px; }
.footer-logo strong { display: block; font-family: Georgia, serif; font-size: 20px; color: var(--yellow-light); margin-bottom: 5px; }
.footer-logo span { font-size: 14px; color: rgba(255,255,255,0.6); }
.footer-contacts h4 { font-size: 16px; color: var(--yellow-light); margin-bottom: 12px; }
.footer-contacts p { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 8px; line-height: 1.6; }
.footer-contacts .phone { font-size: 18px; font-weight: 600; color: var(--yellow); margin: 15px 0 10px; }
.footer-contacts .email { color: var(--yellow); }
.footer-contacts .inn { margin-top: 15px; font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-social { display: flex; gap: 12px; }
.footer-social img { width: 40px; height: 40px; background-color: rgba(255,255,255,0.1); border-radius: 50%; padding: 8px; }

/* Responsive */
@media (max-width: 1024px) {
    .desktop-only { display: none; }
    .burger { display: flex; }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.4s ease;
        z-index: 1001;
    }
    
    .nav.active { right: 0; }
    
    .nav-link { font-size: 24px; }
    .mobile-only { display: block; }

    .hero-inner, .about-inner { flex-direction: column; text-align: center; }
    .hero-btns, .link-arrow { justify-content: center; }
    .hero-img img { width: 350px; height: 350px; }
    .service-grid, .team-grid, .help-grid, .steps { grid-template-columns: 1fr; }
    .slide { grid-template-columns: 1fr; text-align: center; }
    .slide img { height: 300px; margin-bottom: 20px; }
    .footer-inner { grid-template-columns: 1fr; text-align: center; }
    .footer-logo, .footer-social { justify-content: center; }
}
@media (max-width: 768px) {
    .section-title { font-size: 32px; }
    .hero-content h1 { font-size: 42px; }
    .service-block, .donate-block { padding: 30px; }
    .about-stats { grid-template-columns: 1fr; }
    .stat-img:nth-child(4) { grid-column: auto; }
}