/* Veterinær Child Theme — Overrides */

:root {
    --accent: #059669;
    --accent-hover: #047857;
    --accent-light: #ecfdf5;
    --accent-subtle: #f3fef9;
}

/* === Animals Section === */
.animals-section {
    padding: 80px 0;
    background: var(--surface);
}

.animals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.animal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 24px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

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

.animal-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    transition: background var(--transition);
}

.animal-card:hover .animal-icon {
    background: var(--accent);
    color: #fff;
}

.animal-icon svg {
    width: 36px;
    height: 36px;
}

.animal-name {
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--heading);
}

.animal-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* === Emergency Section === */
.emergency-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg) 0%, var(--accent-subtle) 100%);
}

.emergency-box {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px;
    background: var(--bg);
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.emergency-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #dc2626;
    margin-bottom: 12px;
}

.emergency-label svg {
    color: #dc2626;
}

.emergency-phone-number {
    font-size: 2.25rem;
    font-weight: 800;
    display: block;
    margin-bottom: 16px;
}

.emergency-phone-number a {
    color: var(--accent);
    text-decoration: none;
}

.emergency-phone-number a:hover {
    color: var(--accent-hover);
}

.emergency-hours {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.emergency-steps {
    text-align: left;
    max-width: 480px;
    margin: 0 auto 32px;
    counter-reset: step;
}

.emergency-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.emergency-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.step-text {
    color: var(--text);
    font-size: 0.9375rem;
    line-height: 1.6;
    padding-top: 4px;
}

.emergency-cta {
    margin-top: 8px;
}

.emergency-cta .btn {
    font-size: 1.125rem;
    padding: 14px 32px;
}

/* === Responsive === */
@media (max-width: 768px) {
    .animals-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .animal-icon {
        width: 60px;
        height: 60px;
    }

    .animal-icon svg {
        width: 30px;
        height: 30px;
    }

    .emergency-section {
        padding: 60px 0;
    }

    .emergency-box {
        padding: 28px 20px;
    }

    .emergency-phone-number {
        font-size: 1.75rem;
    }

    .emergency-steps {
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .animals-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .animal-card {
        padding: 20px 12px;
    }
}
