/* === Фирменная палитра (дуотон: тёплый коричневый + персиковый) === */
:root {
    --brand: #6b3d2a;
    --brand-2: #8f5a3d;
    --accent: #d99b78;
    --bg: #faf6f2;
    --surface: #ffffff;
    --surface-2: #f5ede4;
    --text: #2a1f1a;
    --muted: #7a6b60;
    --border: #e8ddd2;
    --grad: linear-gradient(135deg, #6b3d2a, #b87355);
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Noto Sans', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}

/* === Базовые сбросы === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
body::before {
    content: '';
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
}

/* === Layout === */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(60px, 8vw, 110px) 0; }

/* === Header === */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: color-mix(in srgb, var(--bg) 85%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }
.logo-mark { font-size: 1.5rem; }
.logo-accent { color: var(--brand-2); }
.main-nav { display: flex; gap: 28px; }
.nav-link {
    font-size: 0.95rem; font-weight: 500; color: var(--text);
    position: relative; padding: 4px 0; transition: color .2s;
}
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px; background: var(--accent); border-radius: 2px;
    transition: width .25s var(--ease-out, ease);
}
.nav-link:hover { color: var(--brand-2); }
.nav-link:hover::after { width: 100%; }
.header-phone {
    font-weight: 600; font-size: 0.95rem; color: var(--brand);
    transition: color .2s;
}
.header-phone:hover { color: var(--accent); }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { width: 26px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === Кнопки === */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 30px; border-radius: var(--radius-pill, 50px);
    font-family: var(--font-sans); font-weight: 600; font-size: 0.95rem;
    background: var(--grad); color: #fff; border: none; cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--brand) 50%, transparent); }
.btn-ghost {
    background: transparent; color: var(--brand); border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); background: var(--surface-2); box-shadow: none; }

/* === Tags / badges === */
.tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: var(--radius-pill, 50px);
    font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
    background: var(--surface-2); color: var(--brand);
    border: 1px solid var(--border);
}
.tag-accent { background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--brand); border-color: transparent; }

/* === Сетка котят === */
.kitten-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 24px;
}
.kitten-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: transform .25s var(--ease-out, ease), box-shadow .25s;
    display: flex; flex-direction: column;
}
.kitten-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px -16px rgba(107,61,42,.3); }
.kitten-photo {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
    background: var(--surface-2);
}
.kitten-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.kitten-card:hover .kitten-photo img { transform: scale(1.05); }
.kitten-badge {
    position: absolute; top: 12px; right: 12px;
    padding: 5px 12px; border-radius: 50px;
    font-size: 0.75rem; font-weight: 600;
    background: var(--accent); color: #fff;
}
.kitten-badge.reserved { background: #9a9a9a; }
.kitten-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.kitten-name { font-size: 1.25rem; font-weight: 600; display: flex; justify-content: space-between; align-items: baseline; }
.kitten-name span { font-size: 0.85rem; color: var(--muted); font-family: var(--font-sans); font-weight: 400; }
.kitten-desc { font-size: 0.9rem; color: var(--muted); flex: 1; }
.kitten-price { font-size: 1.3rem; font-weight: 700; font-family: var(--font-display); color: var(--brand); margin-top: 4px; }

/* === Сетка пород (bento) === */
.breed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.breed-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: transform .25s, border-color .25s;
}
.breed-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.breed-card img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.breed-card-body { padding: 18px 20px 22px; }
.breed-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.breed-card p { font-size: 0.88rem; color: var(--muted); }

/* === Отзывы === */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.review-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    display: flex; flex-direction: column; gap: 14px;
}
.stars { color: var(--accent); font-size: 1.1rem; letter-spacing: 2px; }
.review-text { font-size: 0.95rem; color: var(--text); line-height: 1.7; flex: 1; }
.review-author { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 0.9rem; }
.review-author .kitten-ref { font-weight: 400; color: var(--muted); }

/* === Секция заголовков === */
.section-head { text-align: center; margin-bottom: 50px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); max-width: 600px; margin: 0 auto; }
.eyebrow {
    display: inline-block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--accent); margin-bottom: 12px;
}

/* === Footer === */
.site-footer { background: var(--text); color: #d6c8be; padding: 60px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-accent { color: var(--accent); }
.footer-tagline { margin-top: 16px; font-size: 0.9rem; line-height: 1.6; max-width: 320px; }
.footer-nav h4, .footer-contacts h4 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; font-family: var(--font-display); }
.footer-nav a, .footer-contacts p { display: block; padding: 4px 0; font-size: 0.9rem; transition: color .2s; }
.footer-nav a:hover, .footer-contacts a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom p { text-align: center; font-size: 0.85rem; color: #8a7d74; }

/* === Reveal анимации (только при живом JS) === */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
html.js .reveal.in { opacity: 1; transform: none; }

/* === Адаптив === */
@media (max-width: 768px) {
    .main-nav {
        position: fixed; top: 72px; right: 0;
        height: calc(100vh - 72px); width: 80%; max-width: 320px;
        background: var(--surface); border-left: 1px solid var(--border);
        flex-direction: column; padding: 30px; gap: 20px;
        transform: translateX(100%); transition: transform .3s var(--ease-out, ease);
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav .nav-link { font-size: 1.1rem; }
    .burger { display: flex; }
    .header-phone { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 480px) {
    .container { padding: 0 18px; }
}