/* =============================================
   ЗМІННІ ТА БАЗОВІ НАЛАШТУВАННЯ
   ============================================= */

:root {
    --cream: #FAF6EE;
    --cream-mid: #F0E8D8;
    --cream-dark: #E2D5C0;
    --brown: #8B5E3C;
    --brown-dark: #5C3D1E;
    --brown-light: #B07A4F;
    --forest: #3B5E3A;
    --forest-mid: #4E7A4D;
    --forest-light: #7BA87A;
    --ink: #1A1209;
    --ink-soft: #3D2B12;
    --gold: #C9933A;
    --gold-light: #E8B96A;
    --white: #FFFFFF;
    --grey-soft: #7A6A58;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Jost', system-ui, sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
    --radius-xl: 48px;

    --shadow-sm: 0 2px 12px rgba(90, 50, 10, 0.08);
    --shadow-md: 0 8px 32px rgba(90, 50, 10, 0.13);
    --shadow-lg: 0 20px 60px rgba(90, 50, 10, 0.18);

    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--ink-soft);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1200px, 94vw);
    margin-inline: auto;
}

/* =============================================
   АНІМАЦІЇ
   ============================================= */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(36px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(48px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(-48px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes barGrow {
    from {
        width: 0;
    }

    to {
        width: var(--w);
    }
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.reveal-right {
    opacity: 0;
    transform: translateX(48px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.reveal-right.visible {
    opacity: 1;
    transform: none;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-48px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: none;
}

/* =============================================
   НАВІГАЦІЯ
   ============================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar.scrolled {
    background: rgba(250, 246, 238, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.nav-inner {
    width: min(1200px, 94vw);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brown-dark);
    white-space: nowrap;
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    flex-wrap: wrap;
}

.nav-links a {
    font-size: 0.83rem;
    font-weight: 500;
    color: var(--ink-soft);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
    color: var(--brown);
    background: var(--cream-mid);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--brown-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.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);
}

/* =============================================
   HERO
   ============================================= */

.hero {
    min-height: 100svh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 130px 5vw 80px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 60% at 0% 100%, rgba(59, 94, 58, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 100% 0%, rgba(201, 147, 58, 0.08) 0%, transparent 70%),
        var(--cream);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(139, 94, 60, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--forest);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 100px;
    width: fit-content;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--ink);
}

.hero-title em {
    font-style: italic;
    color: var(--brown);
}

.hero-sub {
    font-size: clamp(0.95rem, 1.4vw, 1.08rem);
    color: var(--grey-soft);
    line-height: 1.8;
    max-width: 480px;
}

.br-desktop {
    display: block;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* BUTTONS */
.btn-primary {
    display: inline-block;
    background: var(--brown);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 14px 32px;
    border-radius: 100px;
    border: 2px solid var(--brown);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
    background: var(--brown-dark);
    border-color: var(--brown-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(92, 61, 30, 0.25);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--brown-dark);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 14px 32px;
    border-radius: 100px;
    border: 2px solid var(--brown);
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn-outline:hover {
    background: var(--brown);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-light:hover {
    background: var(--white);
    color: var(--brown-dark);
    border-color: var(--white);
}

/* HERO IMAGE */
.hero-image-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-frame {
    position: relative;
    width: clamp(280px, 40vw, 500px);
    height: clamp(280px, 40vw, 500px);
    border-radius: 50% 40% 55% 35% / 40% 55% 35% 50%;
    overflow: hidden;
    border: 6px solid var(--cream-dark);
    box-shadow: var(--shadow-lg);
}

.hero-img {
    object-position: center top;
}

.hero-image-deco {
    position: absolute;
    inset: -12px;
    border-radius: inherit;
    border: 3px dashed rgba(139, 94, 60, 0.2);
    pointer-events: none;
}

.hero-stat-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 110px;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--brown);
    line-height: 1;
}

.stat-label {
    font-size: 0.72rem;
    color: var(--grey-soft);
    font-weight: 500;
    margin-top: 4px;
}

.card-1 {
    top: 10%;
    left: -10%;
    animation: floatCard 4s ease-in-out infinite;
}

.card-2 {
    bottom: 12%;
    right: -8%;
    animation: floatCard 4s ease-in-out infinite 2s;
}

.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--brown-light);
    animation: scrollBounce 2s ease-in-out infinite;
    opacity: 0.6;
}

/* =============================================
   ЗАГАЛЬНІ СЕКЦІЇ
   ============================================= */

.section {
    padding: 100px 0;
}

.section-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--forest-mid);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-label::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--forest-mid);
    border-radius: 2px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.12;
    color: var(--ink);
    margin-bottom: 52px;
}

.section-title em {
    font-style: italic;
    color: var(--brown);
}

/* =============================================
   СЕКЦІЯ ПРО ПОРОДУ
   ============================================= */

.about-section {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--ink-soft);
    margin-bottom: 20px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text strong {
    color: var(--brown-dark);
}

.specs-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--cream-dark);
}

.specs-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--cream-mid);
}

.specs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.specs-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.spec-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.specs-list strong {
    display: block;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--grey-soft);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1px;
}

.specs-list span {
    font-size: 0.97rem;
    color: var(--ink-soft);
}

/* =============================================
   ПЕРЕВАГИ
   ============================================= */

.advantages-section {
    background:
        linear-gradient(135deg, var(--brown-dark) 0%, var(--forest) 100%);
    padding: 80px 5vw;
}

.adv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin-inline: auto;
}

.adv-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    color: var(--white);
    transition: background var(--transition), transform var(--transition);
    backdrop-filter: blur(6px);
}

.adv-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.adv-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.adv-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.adv-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* =============================================
   ІСТОРІЯ / ТАЙМЛАЙН
   ============================================= */

.history-section {
    background: var(--cream-mid);
}

.timeline {
    position: relative;
    padding-left: 52px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 10px;
    bottom: 10px;
    width: 3px;
    background: linear-gradient(to bottom, var(--gold), var(--forest));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    align-items: start;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -44px;
    top: 6px;
    width: 18px;
    height: 18px;
    background: var(--gold);
    border: 3px solid var(--cream-mid);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--gold-light);
}

.timeline-date {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--brown);
    padding-top: 2px;
    line-height: 1;
}

.timeline-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--gold);
}

.timeline-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 8px;
}

.timeline-card p {
    font-size: 0.95rem;
    color: var(--ink-soft);
    line-height: 1.7;
}

/* =============================================
   ЗОВНІШНІСТЬ
   ============================================= */

.appearance-section {
    background: var(--cream);
}

.appear-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.appear-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 460px;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream-dark);
}

.body-parts {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.body-part {
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    transition: box-shadow var(--transition);
}

.body-part[open] {
    box-shadow: var(--shadow-sm);
    border-color: var(--brown-light);
}

.body-part summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ink-soft);
    transition: background var(--transition);
    user-select: none;
}

.body-part summary:hover {
    background: var(--cream);
}

.body-part[open] summary {
    background: var(--cream-mid);
    color: var(--brown-dark);
}

.body-part summary::-webkit-details-marker {
    display: none;
}

.part-num {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 900;
    color: var(--brown-light);
    min-width: 28px;
}

.arrow {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--grey-soft);
    transition: transform var(--transition);
}

.body-part[open] .arrow {
    transform: rotate(180deg);
}

.part-content {
    padding: 0 20px 18px;
    border-top: 1px solid var(--cream-mid);
}

.part-content p {
    font-size: 0.94rem;
    line-height: 1.75;
    color: var(--ink-soft);
    padding-top: 14px;
}

.part-content strong {
    color: var(--brown-dark);
}

/* =============================================
   ХАРАКТЕР
   ============================================= */

.character-section {
    background: var(--cream-mid);
}

.char-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.char-text p {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--ink-soft);
    margin-bottom: 18px;
}

.char-text p:last-child {
    margin-bottom: 0;
}

.char-text strong {
    color: var(--brown-dark);
}

.char-traits {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.trait {
    display: flex;
    align-items: center;
    gap: 14px;
}

.trait-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink-soft);
    min-width: 155px;
}

.trait-bar {
    flex: 1;
    height: 8px;
    background: var(--cream-dark);
    border-radius: 100px;
    overflow: hidden;
}

.trait-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--forest-mid), var(--gold));
    border-radius: 100px;
    width: 0;
    transition: width 1.2s ease;
}

.trait-fill.animated {
    width: var(--w);
}

.trait-val {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brown);
    min-width: 36px;
    text-align: right;
}

/* =============================================
   ДОГЛЯД / ВКЛАДКИ
   ============================================= */

.care-section {
    background: var(--cream);
}

.care-tabs {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tab-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tab-btn {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 100px;
    border: 2px solid var(--cream-dark);
    background: var(--white);
    color: var(--grey-soft);
    cursor: pointer;
    transition: all var(--transition);
}

.tab-btn:hover {
    border-color: var(--brown-light);
    color: var(--brown);
}

.tab-btn.active {
    background: var(--brown);
    border-color: var(--brown);
    color: var(--white);
}

.tab-content {
    display: none;
    animation: fadeUp 0.4s ease;
}

.tab-content.active {
    display: block;
}

.care-content-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 48px;
    align-items: start;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--cream-dark);
}

.care-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 320px;
    box-shadow: var(--shadow-sm);
}

.care-text h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 20px;
}

.care-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.care-list li {
    font-size: 0.94rem;
    line-height: 1.7;
    color: var(--ink-soft);
    padding-left: 18px;
    position: relative;
}

.care-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--forest-mid);
    font-weight: 700;
}

.care-list strong {
    color: var(--brown-dark);
}

/* =============================================
   РОЗВЕДЕННЯ
   ============================================= */

.breeding-section {
    background: var(--cream-mid);
}

.breed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.breed-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    border: 1px solid var(--cream-dark);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.breed-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--brown-light);
}

.breed-icon {
    font-size: 2rem;
    margin-bottom: 14px;
}

.breed-card h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 10px;
}

.breed-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--ink-soft);
}

.breed-card strong {
    color: var(--brown);
}

.breed-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(59, 94, 58, 0.07);
    border: 1px solid rgba(59, 94, 58, 0.2);
    border-radius: var(--radius-md);
    padding: 20px 24px;
}

.note-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.breed-note p {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--forest);
    font-weight: 500;
}

/* =============================================
   ГАЛЕРЕЯ
   ============================================= */

.gallery-section {
    background: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 12px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    height: 240px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.gallery-item--wide {
    grid-column: span 2;
    height: 280px;
}

.gallery-item img {
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 18, 9, 0.75), transparent);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 24px 16px 14px;
    transform: translateY(100%);
    transition: transform var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* =============================================
   FAQ
   ============================================= */

.faq-section {
    background: var(--cream-mid);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 820px;
    margin-inline: auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--cream-dark);
    overflow: hidden;
    transition: box-shadow var(--transition);
}

.faq-item.open {
    box-shadow: var(--shadow-sm);
    border-color: var(--brown-light);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--ink-soft);
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--brown-dark);
}

.faq-item.open .faq-question {
    color: var(--brown-dark);
}

.faq-arrow {
    font-size: 0.85rem;
    color: var(--grey-soft);
    flex-shrink: 0;
    transition: transform var(--transition);
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
}

.faq-answer p {
    font-size: 0.94rem;
    line-height: 1.8;
    color: var(--ink-soft);
    padding-bottom: 20px;
    border-top: 1px solid var(--cream-mid);
    padding-top: 16px;
}

.faq-item.open .faq-answer {
    max-height: 400px;
    padding: 0 24px;
}

/* =============================================
   CTA СЕКЦІЯ
   ============================================= */

.cta-section {
    background: linear-gradient(135deg, var(--forest) 0%, var(--brown-dark) 100%);
    padding: 80px 5vw;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin-inline: auto;
}

.cta-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.15;
}

.cta-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
    background: var(--ink);
    padding: 48px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 20px;
}

.footer-nav a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: var(--gold-light);
}

.footer-copy {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
    max-width: 500px;
    line-height: 1.6;
}

/* =============================================
   КНОПКА ВГОРУ
   ============================================= */

.scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    background: var(--brown);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity var(--transition), transform var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: none;
}

.scroll-top:hover {
    background: var(--brown-dark);
    transform: translateY(-3px);
}

/* =============================================
   АДАПТИВНІСТЬ
   ============================================= */

/* --- Великий планшет --- */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 110px 5vw 70px;
        min-height: auto;
        gap: 48px;
    }

    .hero-content {
        align-items: center;
        max-width: 100%;
    }

    .hero-sub {
        text-align: center;
    }

    .br-desktop {
        display: none;
    }

    .hero-image-wrap {
        justify-content: center;
    }

    .hero-image-frame {
        width: clamp(240px, 55vw, 380px);
        height: clamp(240px, 55vw, 380px);
    }

    .card-1 {
        left: 0;
    }

    .card-2 {
        right: 0;
    }

    .scroll-hint {
        display: none;
    }

    .about-grid,
    .appear-grid,
    .char-grid {
        grid-template-columns: 1fr;
    }

    .adv-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .breed-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .care-content-grid {
        grid-template-columns: 1fr;
    }

    .care-image {
        height: 240px;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-text p {
        margin-inline: auto;
    }

    .cta-actions {
        justify-content: center;
    }
}

/* --- Планшет / мобільний --- */
@media (max-width: 768px) {
    .navbar {
        padding: 14px 0;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--cream);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 14px;
        z-index: 900;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 10px 20px;
    }

    .burger {
        display: flex;
        z-index: 1001;
    }

    .section {
        padding: 70px 0;
    }

    .section-title {
        margin-bottom: 36px;
    }

    .adv-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .timeline {
        padding-left: 36px;
    }

    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: 14px;
    }

    .timeline-dot {
        left: -30px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item--wide {
        grid-column: span 2;
    }

    .specs-card {
        padding: 24px;
    }

    .breed-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Малий мобільний --- */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        text-align: center;
    }

    .adv-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item--wide {
        grid-column: span 1;
        height: 200px;
    }

    .gallery-item {
        height: 200px;
    }

    .care-content-grid {
        padding: 24px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .timeline-date {
        font-size: 1rem;
    }

    .tab-btns {
        gap: 6px;
    }

    .tab-btn {
        font-size: 0.8rem;
        padding: 8px 14px;
    }

    .faq-question {
        font-size: 0.9rem;
    }

    .char-traits {
        padding: 24px;
    }

    .trait-label {
        min-width: 120px;
        font-size: 0.82rem;
    }

    .scroll-top {
        bottom: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
}

/* --- 420px --- */
@media (max-width: 420px) {
  .hero-title { font-size: 2rem; }
  .hero-badge { font-size: 0.7rem; padding: 6px 12px; }
  .hero-stat-card { padding: 10px 14px; min-width: 90px; }
  .stat-num { font-size: 1.3rem; }

  .section { padding: 52px 0; }
  .section-title { font-size: 1.7rem; margin-bottom: 28px; }
  .section-label { font-size: 0.72rem; }

  .specs-card { padding: 18px; }
  .specs-list li { gap: 10px; }
  .spec-icon { font-size: 1.1rem; }

  .adv-card { padding: 22px 16px; }
  .adv-icon { font-size: 2rem; }

  .timeline { padding-left: 28px; }
  .timeline-card { padding: 16px 18px; }
  .timeline-card h4 { font-size: 0.95rem; }
  .timeline-card p { font-size: 0.85rem; }

  .body-part summary { font-size: 0.88rem; padding: 13px 14px; }
  .part-content p { font-size: 0.88rem; }

  .char-traits { padding: 18px; gap: 14px; }
  .trait-label { min-width: 105px; font-size: 0.78rem; }
  .trait-val { font-size: 0.78rem; }

  .tab-btn { font-size: 0.75rem; padding: 7px 11px; }
  .care-text-only { padding: 20px 18px; }
  .care-text-only h3 { font-size: 1.05rem; }
  .care-list li { font-size: 0.88rem; }

  .breed-card { padding: 20px 16px; }
  .breed-card h4 { font-size: 0.95rem; }
  .breed-note { padding: 16px 18px; }
  .breed-note p { font-size: 0.85rem; }

  .gallery-item { height: 170px; }
  .gallery-caption { font-size: 0.78rem; }

  .faq-question { font-size: 0.85rem; padding: 16px 18px; }
  .faq-answer p { font-size: 0.88rem; }

  .cta-section { padding: 52px 5vw; }
  .cta-text h2 { font-size: 1.5rem; }
  .cta-text p { font-size: 0.9rem; }

  .scroll-top { width: 36px; height: 36px; font-size: 1rem; bottom: 12px; right: 12px; }
}
